r3281 - in jhalfs/trunk: CLFS CLFS2 CLFS3

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Dec 11 05:59:09 PST 2006


Author: manuel
Date: 2006-12-11 06:59:08 -0700 (Mon, 11 Dec 2006)
New Revision: 3281

Modified:
   jhalfs/trunk/CLFS/master.sh
   jhalfs/trunk/CLFS2/master.sh
   jhalfs/trunk/CLFS3/master.sh
Log:
CLFSx: Create a custom /etc/clfs-release file.

Modified: jhalfs/trunk/CLFS/master.sh
===================================================================
--- jhalfs/trunk/CLFS/master.sh	2006-12-11 13:14:54 UTC (rev 3280)
+++ jhalfs/trunk/CLFS/master.sh	2006-12-11 13:59:08 UTC (rev 3281)
@@ -628,7 +628,7 @@
   fi
 
 
-  for file in {bootable,the-end}/* ; do
+  for file in bootable/* ; do
     # Keep the script file name
     this_script=`basename $file`
 
@@ -766,6 +766,8 @@
 
 all: ck_UID mk_SETUP mk_CROSS mk_SUDO mk_SYSTOOLS create-sbu_du-report mk_BLFS_TOOL
 	@sudo make do-housekeeping
+	@echo "$VERSION - jhalfs build" > clfs-release && \\
+	sudo mv clfs-release \$(MOUNT_PT)/etc
 	@\$(call echo_finished,$VERSION)
 
 ck_UID:
@@ -865,6 +867,7 @@
 	@\$(call echo_boot_finished,$VERSION)
 
 makesys: mk_FINAL mk_BLFS_TOOL
+	@echo "$VERSION - jhalfs build" > /etc/clfs-release
 	@\$(call echo_finished,$VERSION)
 
 

Modified: jhalfs/trunk/CLFS2/master.sh
===================================================================
--- jhalfs/trunk/CLFS2/master.sh	2006-12-11 13:14:54 UTC (rev 3280)
+++ jhalfs/trunk/CLFS2/master.sh	2006-12-11 13:59:08 UTC (rev 3281)
@@ -337,7 +337,7 @@
     # NOTE: new makfile format forces the last script, *chowning, into a separate
     #  phase.
     case ${this_script} in
-      *chowning) chowning=${this_script}   ;;
+      *chowning) chowning=" ${this_script}"   ;;
               *) bootable="$bootable $this_script"  ;;
     esac
     #
@@ -441,6 +441,7 @@
 	@touch \$@
 
 mk_ROOT:
+	@echo "$VERSION-sysroot - jhalfs build" > \$(MOUNT_PT)/etc/clfs-release
 	@sudo make SHELL=/bin/bash ROOT
 	@touch \$@
 

Modified: jhalfs/trunk/CLFS3/master.sh
===================================================================
--- jhalfs/trunk/CLFS3/master.sh	2006-12-11 13:14:54 UTC (rev 3280)
+++ jhalfs/trunk/CLFS3/master.sh	2006-12-11 13:59:08 UTC (rev 3281)
@@ -444,6 +444,7 @@
 	@touch \$@
 
 mk_ROOT:
+	@echo "$VERSION-embedded - jhalfs build" > \$(MOUNT_PT)/etc/clfs-release
 	@sudo make SHELL=/bin/bash ROOT
 	@touch \$@
 




More information about the alfs-log mailing list