[Lunar-commits] CVS: lunar-iso/scripts kernels,1.5,1.6
Auke Kok
sofar at lunar-linux.org
Thu Dec 2 12:39:09 UTC 2004
Update of /var/cvs/lunar/lunar-iso/scripts
In directory espresso.foo-projects.org:/tmp/cvs-serv13152/scripts
Modified Files:
kernels
Log Message:
structured and adding auto-list for installer
Index: kernels
===================================================================
RCS file: /var/cvs/lunar/lunar-iso/scripts/kernels,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- kernels 2 Dec 2004 10:43:13 -0000 1.5
+++ kernels 2 Dec 2004 12:39:07 -0000 1.6
@@ -14,7 +14,7 @@
cd linux-$ISO_KVER
mkdir patches
cd patches
- tar jxf /var/spool/lunar/ll-r8.0rc3.tar.bz2
+ tar jxf /var/spool/lunar/ll-$ISO_PVER.tar.bz2
}
prepare_patch()
@@ -58,18 +58,19 @@
make dep &&
make bzImage &&
make modules &&
+ mkdir -p $ISO_SOURCE/kernels/TAR
mkdir -p $ISO_SOURCE/kernels/BUILD
mkdir -p $ISO_SOURCE/kernels/BUILD/boot
+ mkdir -p $ISO_SOURCE/kernels/BUILD/usr/include/linux-$ISO_KVER$1
make INSTALL_MOD_PATH=$ISO_SOURCE/kernels/BUILD modules_install
cp arch/i386/boot/bzImage $ISO_SOURCE/kernels/BUILD/boot/$ISO_KVER$1
cp System.map $ISO_SOURCE/kernels/BUILD/boot/System.map-$ISO_KVER$1
cp .config $ISO_SOURCE/kernels/BUILD/boot/config-$ISO_KVER$1
gzip $ISO_SOURCE/kernels/BUILD/boot/config-$ISO_KVER$1
- mkdir -p $ISO_SOURCE/kernels/BUILD/usr/include/linux-$ISO_KVER$1
cp -aL $ISO_SOURCE/kernels/linux-$ISO_KVER/include/asm $ISO_SOURCE/kernels/BUILD/usr/include/linux-$ISO_KVER$1/asm
cp -aL $ISO_SOURCE/kernels/linux-$ISO_KVER/include/linux $ISO_SOURCE/kernels/BUILD/usr/include/linux-$ISO_KVER$1/linux
cd $ISO_SOURCE/kernels/BUILD
- tar cjf $ISO_SOURCE/kernels/$ISO_KVER$1.tar.bz2 boot/ lib/ usr/
+ tar cjf $ISO_SOURCE/kernels/TAR/$ISO_KVER$1.tar.bz2 boot/ lib/ usr/
cd $ISO_SOURCE/kernels
rm -rf $ISO_SOURCE/kernels/BUILD
rm -rf $ISO_SOURCE/kernels/linux-$ISO_KVER
@@ -82,22 +83,41 @@
prepare_options $(echo $2)
prepare_version $1
build_kernel $1
+ echo "$ISO_KVER$1:$4" >> $ISO_SOURCE/kernels/.kernels
}
VERBSOSE=on
-build -safe "nosmp lowmem safe" "fix"
-build -nosmp "nosmp lowmem" "fix main"
-build -smp-4gb "smp mem" "fix main"
-build -agr-nosmp "nosmp lowmem lowlat" "fix main aggressive"
-build -agr-smp-4gb "smp mem lowlat" "fix main aggressive"
-build -stb-nosmp "nosmp lowmem" "fix"
-build -stb-smp-4gb "smp mem" "fix"
-build -vnl-nosmp "nosmp lowmem" ""
-build -vnl-smp-4gb "smp mem" ""
-build -grs-nosmp "nosmp lowmem grsec" "fix main grsecurity"
-build -grs-smp-4gb "smp mem grsec" "fix main grsecurity"
-build -om-nosmp "nosmp lowmem om" "fix om"
-build -omsmp-4gb "smp mem om" "fix om"
+> $ISO_SOURCE/kernels/.kernels
+
+build -safe-i386 "i386 nosmp lowmem safe" "fix" \
+ "Very safe i386 (default is i686) minimal kernel (no ACPI, DMA, SMP)"
+build -nosmp "nosmp lowmem" "fix main" \
+ "Normal kernel (no SMP) (RECOMMENDED)"
+build -smp-4gb "smp mem" "fix main" \
+ "Normal SMP kernel with large memory (4GB)"
+build -agr-nosmp "nosmp lowmem lowlat" "fix main aggressive" \
+ "Low latency patch"
+build -agr-smp-4gb "smp mem lowlat" "fix main aggressive" \
+ "Low latency patch, SMP, 4GB"
+build -stb-nosmp "nosmp lowmem" "fix" \
+ "Minimally patched"
+build -stb-smp-4gb "smp mem" "fix" \
+ "Minimally patched, SMP, 4GB"
+build -vnl-nosmp "nosmp lowmem" "" \
+ "Unpatched"
+build -vnl-smp-4gb "smp mem" "" \
+ "Unpatched, SMP, 4GB"
+build -grs-nosmp "nosmp lowmem grsec" "fix main grsecurity" \
+ "Grsecurity patch"
+build -grs-smp-4gb "smp mem grsec" "fix main grsecurity" \
+ "Grsecurity patch, SMP, 4GB"
+build -om-nosmp "nosmp lowmem om" "fix om" \
+ "OpenMosix clustering"
+build -omsmp-4gb "smp mem om" "fix om" \
+ "OpenMosix clustering, SMP, 4GB"
+
+mkdir -p $ISO_TARGET/kernels
+cp -av $ISO_SOURCE/kernels/TAR/* $ISO_TARGET/kernels/
+mv $ISO_SOURCE/kernels/.kernels $ISO_TARGET/
-touch $ISO_TARGET/.kernels
More information about the Lunar-commits
mailing list