ppcrcd: Makefile boot.dir/hfs.map files.sort

sparky cvs at pld-linux.org
Thu Jun 16 14:57:15 CEST 2005


Author: sparky
Date: Thu Jun 16 14:57:09 2005
New Revision: 6099

Added:
   ppcrcd/files.sort
Modified:
   ppcrcd/Makefile
   ppcrcd/boot.dir/hfs.map
Log:
- sort files on CD
- gzip kernel


Modified: ppcrcd/Makefile
==============================================================================
--- ppcrcd/Makefile	(original)
+++ ppcrcd/Makefile	Thu Jun 16 14:57:09 2005
@@ -40,6 +40,7 @@
 		-hfs-bless image/boot	\
 		-chrp-boot		\
 		-rational-rock		\
+		-sort files.sort	\
 		-output	$@		\
 		image
 
@@ -78,13 +79,15 @@
 	$(SU) chroot root.stripped chkconfig --level 2345 $(@:%_stop=%) off
 
 boot:	root.installed initrd.sqf yaboot/yaboot
-	cp -r boot.dir boot.work
+	mkdir boot.work
+	cp boot.dir/{hfs.map,boot.msg,yaboot.conf} boot.work
 	rm -f boot.work/*~
 	sed -e 's/@_VERSION_@/$(VERSION)/g'	\
 		-i boot.work/boot.msg		\
 		-i boot.work/ofboot.b
 	cp root.inst/boot/vmlinux-* boot.work/vmlinux
 	strip boot.work/vmlinux
+	gzip -9 boot.work/vmlinux
 	cp yaboot/yaboot boot.work
 	$(SU) cp initrd.sqf boot.work
 	mv boot.work $@

Modified: ppcrcd/boot.dir/hfs.map
==============================================================================
--- ppcrcd/boot.dir/hfs.map	(original)
+++ ppcrcd/boot.dir/hfs.map	Thu Jun 16 14:57:09 2005
@@ -4,7 +4,7 @@
 .conf		Raw	'UNIX'	'boot'	"Bootstrap"
 .msg		Raw	'UNIX'	'boot'	"Bootstrap"
 .help		Raw	'UNIX'	'boot'	"Bootstrap"
-vmlinuz		Raw	'UNIX'	'boot'	"Linux_kernel"
+vmlinuz.gz	Raw	'UNIX'	'boot'	"Linux_kernel"
 initrd.sqf	Raw	'UNIX'	'root'	"initrd"
 ppcrcd.sqf	Raw	'UNIX'	'root'	"root_image"
 *		Raw	'UNIX'	'unix'	"Unknown"

Added: ppcrcd/files.sort
==============================================================================
--- (empty file)
+++ ppcrcd/files.sort	Thu Jun 16 14:57:09 2005
@@ -0,0 +1,8 @@
+image/ppc/bootinfo.txt	2000
+image/boot/yaboot	1500
+image/boot/yaboot.conf	1400
+image/boot/boot.msg	1300
+image/boot/vmlinux.gz	100
+image/boot/initrd.sqf	-500
+image/boot/hfs.map	-999
+image/ppcrcd.sqf	-1000



More information about the pld-cvs-commit mailing list