CLFSx: Create a custom /etc/clfs-release file.
This commit is contained in:
parent
9ae0875eaa
commit
936efa8197
3 changed files with 7 additions and 2 deletions
|
@ -628,7 +628,7 @@ bootable_Makefiles() { #
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
for file in {bootable,the-end}/* ; do
|
for file in bootable/* ; do
|
||||||
# Keep the script file name
|
# Keep the script file name
|
||||||
this_script=`basename $file`
|
this_script=`basename $file`
|
||||||
|
|
||||||
|
@ -766,6 +766,8 @@ cat << EOF
|
||||||
|
|
||||||
all: ck_UID mk_SETUP mk_CROSS mk_SUDO mk_SYSTOOLS create-sbu_du-report mk_BLFS_TOOL
|
all: ck_UID mk_SETUP mk_CROSS mk_SUDO mk_SYSTOOLS create-sbu_du-report mk_BLFS_TOOL
|
||||||
@sudo make do-housekeeping
|
@sudo make do-housekeeping
|
||||||
|
@echo "$VERSION - jhalfs build" > clfs-release && \\
|
||||||
|
sudo mv clfs-release \$(MOUNT_PT)/etc
|
||||||
@\$(call echo_finished,$VERSION)
|
@\$(call echo_finished,$VERSION)
|
||||||
|
|
||||||
ck_UID:
|
ck_UID:
|
||||||
|
@ -865,6 +867,7 @@ all: ck_UID mk_SETUP mk_CROSS mk_SUDO
|
||||||
@\$(call echo_boot_finished,$VERSION)
|
@\$(call echo_boot_finished,$VERSION)
|
||||||
|
|
||||||
makesys: mk_FINAL mk_BLFS_TOOL
|
makesys: mk_FINAL mk_BLFS_TOOL
|
||||||
|
@echo "$VERSION - jhalfs build" > /etc/clfs-release
|
||||||
@\$(call echo_finished,$VERSION)
|
@\$(call echo_finished,$VERSION)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -337,7 +337,7 @@ bootable_Makefiles() { #
|
||||||
# NOTE: new makfile format forces the last script, *chowning, into a separate
|
# NOTE: new makfile format forces the last script, *chowning, into a separate
|
||||||
# phase.
|
# phase.
|
||||||
case ${this_script} in
|
case ${this_script} in
|
||||||
*chowning) chowning=${this_script} ;;
|
*chowning) chowning=" ${this_script}" ;;
|
||||||
*) bootable="$bootable $this_script" ;;
|
*) bootable="$bootable $this_script" ;;
|
||||||
esac
|
esac
|
||||||
#
|
#
|
||||||
|
@ -441,6 +441,7 @@ mk_LUSER: mk_SETUP
|
||||||
@touch \$@
|
@touch \$@
|
||||||
|
|
||||||
mk_ROOT:
|
mk_ROOT:
|
||||||
|
@echo "$VERSION-sysroot - jhalfs build" > \$(MOUNT_PT)/etc/clfs-release
|
||||||
@sudo make SHELL=/bin/bash ROOT
|
@sudo make SHELL=/bin/bash ROOT
|
||||||
@touch \$@
|
@touch \$@
|
||||||
|
|
||||||
|
|
|
@ -444,6 +444,7 @@ mk_LUSER: mk_SETUP
|
||||||
@touch \$@
|
@touch \$@
|
||||||
|
|
||||||
mk_ROOT:
|
mk_ROOT:
|
||||||
|
@echo "$VERSION-embedded - jhalfs build" > \$(MOUNT_PT)/etc/clfs-release
|
||||||
@sudo make SHELL=/bin/bash ROOT
|
@sudo make SHELL=/bin/bash ROOT
|
||||||
@touch \$@
|
@touch \$@
|
||||||
|
|
||||||
|
|
Reference in a new issue