HLFS: Create a custom /etc/hlfs-release file.
This commit is contained in:
parent
24f2c511ce
commit
63b87af9eb
1 changed files with 10 additions and 7 deletions
|
@ -404,6 +404,7 @@ chapter7_Makefiles() { # Create a bootable system.. kernel, bootscripts..e
|
|||
*usage) continue ;; # Contains example commands
|
||||
*grub) continue ;;
|
||||
*console) continue ;; # Use the file generated by lfs-bootscripts
|
||||
*finished) continue ;; # Customized /etc/hlfs-release created in all target
|
||||
*fstab) [[ ! -z ${FSTAB} ]] && cp ${FSTAB} $BUILDDIR/sources/fstab
|
||||
;;
|
||||
*kernel) # If no .config file is supplied, the kernel build is skipped
|
||||
|
@ -521,6 +522,8 @@ build_Makefile() { # Construct a Makefile from the book scripts
|
|||
|
||||
all: ck_UID mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report mk_BLFS_TOOL
|
||||
@sudo make do-housekeeping
|
||||
@echo "$VERSION - jhalfs build" > hlfs-release && \\
|
||||
sudo install -m444 hlfs-release \$(MOUNT_PT)/etc/hlfs-release
|
||||
@\$(call echo_finished,$VERSION)
|
||||
|
||||
ck_UID:
|
||||
|
|
Reference in a new issue