SPECS (LINUX_2_6): kernel.spec - support for bzip2/lzma packed ker...

zbyniu zbyniu at pld-linux.org
Thu Mar 13 01:31:11 CET 2008


Author: zbyniu                       Date: Thu Mar 13 00:31:11 2008 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- support for bzip2/lzma packed kernel/initrd (for rescuecd)

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1849 -> 1.441.2.1850) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1849 SPECS/kernel.spec:1.441.2.1850
--- SPECS/kernel.spec:1.441.2.1849	Wed Mar 12 20:44:52 2008
+++ SPECS/kernel.spec	Thu Mar 13 01:31:06 2008
@@ -193,7 +193,9 @@
 Source55:	kernel-imq.config
 Source56:	kernel-reiser4.config
 Source57:	kernel-wrr.config
+
 Source58:	kernel-inittmpfs.config
+Source59:	kernel-bzip2-lzma.config
 
 ###
 #	Patches
@@ -356,6 +358,8 @@
 # for rescuecd
 # http://ftp.leg.uct.ac.za/pub/linux/rip/inittmpfs-2.6.14.diff.gz
 Patch7000:	kernel-inittmpfs.patch
+# http://www.udpcast.linux.lu/download/bzip2-lzma-kernel-2.6.23.12.patch.gz
+Patch7001:	kernel-bzip2-lzma.patch
 
 # not ready yet
 Patch9997:	pax_selinux_hooks-2.6.20.patch
@@ -376,6 +380,7 @@
 %endif
 BuildRequires:	/sbin/depmod
 BuildRequires:	gcc >= 5:3.2
+%{?with_rescuecd:BuildRequires:	lzma >= 1:4.42.2}
 # for hostname command
 BuildRequires:	net-tools
 BuildRequires:	perl-base
@@ -912,6 +917,7 @@
 
 %if %{with rescuecd}
 %patch7000 -p1
+%patch7001 -p1
 %endif
 
 # grsecurity & pax stuff
@@ -1073,6 +1079,7 @@
 RescueConfig() {
 	set -x
 	cat %{SOURCE58} >> $1
+	cat %{SOURCE59} >> $1
 	sed -i "s:CONFIG_SOUND=.:# CONFIG_SOUND is not set:" $1
 	sed -i "s:CONFIG_AUDIT=.:# CONFIG_AUDIT is not set:" $1
 	sed -i "s:CONFIG_TR=.:# CONFIG_TR is not set:" $1
@@ -1657,6 +1664,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1850  2008-03-13 00:31:06  zbyniu
+- support for bzip2/lzma packed kernel/initrd (for rescuecd)
+
 Revision 1.441.2.1849  2008-03-12 19:44:52  zbyniu
 - force w/o abi grsec vserver tuxonice if with rescuecd
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel.spec?r1=1.441.2.1849&r2=1.441.2.1850&f=u



More information about the pld-cvs-commit mailing list