kadischi/livecd_generator install-boot.sh, 1.4, 1.5 livecd-mkinitrd.sh, 1.8, 1.9
Jasper O'neal Hartline (autopsy)
fedora-extras-commits at redhat.com
Wed May 17 19:10:23 UTC 2006
- Previous message (by thread): rpms/cernlib/FC-4 211-fix-comis-on-ia64-alpha.dpatch, NONE, 1.1 319-work-around-imake-segfaults.dpatch, NONE, 1.1 cernlib_2005.05.09.dfsg-6.diff, NONE, 1.1 patchy-case.patch, NONE, 1.1 patchy-fcasplit.patch, NONE, 1.1 patchy-insecure_tmp_use.diff, NONE, 1.1 patchy-p4comp.patch, NONE, 1.1 patchy-perror.patch, NONE, 1.1 patchy-rceta.patch, NONE, 1.1 patchy-unpack-rceta, NONE, 1.1 patchy-yexpand.diff, NONE, 1.1 .cvsignore, 1.4, 1.5 112-remove-nonexistent-prototypes-from-gen.h.dpatch, 1.1, 1.2 307-use-canonical-cfortran.dpatch, 1.2, 1.3 800-implement-shared-library-rules-in-Imake.dpatch, 1.1, 1.2 805-expunge-missing-mathlib-kernlib-symbols.dpatch, 1.1, 1.2 cernlib-gfortran.diff, 1.1, 1.2 cernlib.spec, 1.23, 1.24 paw.README, 1.3, 1.4 sources, 1.5, 1.6 211-fix-comis-on-ia64.dpatch, 1.1, NONE cernlib_2005.05.09.dfsg-3.diff, 1.1, NONE
- Next message (by thread): kadischi/post_install_scripts 01prelink.sh,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: autopsy
Update of /cvs/devel/kadischi/livecd_generator
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9869/kadischi/livecd_generator
Modified Files:
install-boot.sh livecd-mkinitrd.sh
Log Message:
FC4-compatibility and optional bootsplash modification
Index: install-boot.sh
===================================================================
RCS file: /cvs/devel/kadischi/livecd_generator/install-boot.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- install-boot.sh 30 Mar 2006 05:46:06 -0000 1.4
+++ install-boot.sh 17 May 2006 19:10:21 -0000 1.5
@@ -9,6 +9,23 @@
. /etc/kadischi/kadischi.conf
+nobootsplash() {
+ cat > $csysdir/boot/isolinux/isolinux.cfg <<_EOF_
+default linux
+prompt 1
+timeout 600
+label linux
+ kernel vmlinuz
+ append initrd=initrd.img quiet $kernel_params
+label debug
+ kernel vmlinuz
+ append initrd=initrd.img INITRD_DBG=x
+_EOF_
+
+ exit 0
+
+}
+
if [ -x $sysdir/usr/bin/rhgb ]; then
kernel_params="$kernel_params rhgb"
fi
@@ -18,7 +35,12 @@
cp /usr/lib/syslinux/isolinux.bin $csysdir/boot/isolinux/
if [ ! $kernel_is_xen ]; then
-cp $INSTALLDIR/bootsplash/{memtest,splash.lss,{boot,general,options,license}.msg} $csysdir/boot/isolinux/
+ if [ -d $INSTALLDIR/bootsplash ]; then
+ cp $INSTALLDIR/bootsplash/{memtest,splash.lss,{boot,general,options,license}.msg} $csysdir/boot/isolinux/
+ else
+ echo "Nothing found for bootsplashing."
+ nobootsplash
+ fi
cat > $csysdir/boot/isolinux/isolinux.cfg <<_EOF_
default linux
prompt 1
@@ -39,7 +61,12 @@
append -
_EOF_
else
-cp $INSTALLDIR/bootsplash/{memtest,splash.lss,{xenboot,general,options,license,xen}.msg} $csysdir/boot/isolinux/
+ if [ -d $INSTALLDIR/bootsplash ]; then
+ cp $INSTALLDIR/bootsplash/{memtest,splash.lss,{xenboot,general,options,license,xen}.msg} $csysdir/boot/isolinux/
+ else
+ echo "Nothing found for bootsplashing."
+ nobootsplash
+ fi
cp $sysdir/boot/xen.gz-$kernel_version_proper $csysdir/boot/isolinux/xen.gz
cp /usr/lib/syslinux/mboot.c32 $csysdir/boot/isolinux/
cat > $csysdir/boot/isolinux/isolinux.cfg <<_EOF_
Index: livecd-mkinitrd.sh
===================================================================
RCS file: /cvs/devel/kadischi/livecd_generator/livecd-mkinitrd.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- livecd-mkinitrd.sh 11 Apr 2006 08:26:22 -0000 1.8
+++ livecd-mkinitrd.sh 17 May 2006 19:10:21 -0000 1.9
@@ -253,7 +253,11 @@
inst $rootdir/sbin/MAKEDEV "$MNTIMAGE/sbin/MAKEDEV"
fi
-inst $rootdir/etc/modprobe.d/modprobe.conf.dist "$MNTIMAGE/etc/modprobe.d/modprobe.conf.dist"
+if [ -f $rootdir/etc/modprobe.conf.dist ]; then
+ inst $rootdir/etc/modprobe.conf.dist "$MNTIMAGE/etc/modprobe.conf.dist"
+else
+ inst $rootdir/etc/modprobe.d/modprobe.conf.dist "$MNTIMAGE/etc/modprobe.d/modprobe.conf.dist"
+fi
inst $rootdir/lib/modules/$kernel/modules.dep "$MNTIMAGE/lib/modules/$kernel/modules.dep"
MODULES=$(findmodules drivers/parport drivers/block/loop.ko fs/squashfs)
- Previous message (by thread): rpms/cernlib/FC-4 211-fix-comis-on-ia64-alpha.dpatch, NONE, 1.1 319-work-around-imake-segfaults.dpatch, NONE, 1.1 cernlib_2005.05.09.dfsg-6.diff, NONE, 1.1 patchy-case.patch, NONE, 1.1 patchy-fcasplit.patch, NONE, 1.1 patchy-insecure_tmp_use.diff, NONE, 1.1 patchy-p4comp.patch, NONE, 1.1 patchy-perror.patch, NONE, 1.1 patchy-rceta.patch, NONE, 1.1 patchy-unpack-rceta, NONE, 1.1 patchy-yexpand.diff, NONE, 1.1 .cvsignore, 1.4, 1.5 112-remove-nonexistent-prototypes-from-gen.h.dpatch, 1.1, 1.2 307-use-canonical-cfortran.dpatch, 1.2, 1.3 800-implement-shared-library-rules-in-Imake.dpatch, 1.1, 1.2 805-expunge-missing-mathlib-kernlib-symbols.dpatch, 1.1, 1.2 cernlib-gfortran.diff, 1.1, 1.2 cernlib.spec, 1.23, 1.24 paw.README, 1.3, 1.4 sources, 1.5, 1.6 211-fix-comis-on-ia64.dpatch, 1.1, NONE cernlib_2005.05.09.dfsg-3.diff, 1.1, NONE
- Next message (by thread): kadischi/post_install_scripts 01prelink.sh,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list