SVN: geninitrd/trunk: geninitrd mod-uvesafb.sh
glen
glen at pld-linux.org
Fri Aug 19 21:40:53 CEST 2011
Author: glen
Date: Fri Aug 19 21:40:53 2011
New Revision: 12327
Modified:
geninitrd/trunk/geninitrd
geninitrd/trunk/mod-uvesafb.sh
Log:
kill v86d at the end of initrd, to be able to umount /initrd later
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Fri Aug 19 21:40:53 2011
@@ -1323,6 +1323,7 @@
[ ! -e "$DESTDIR/$rootdev_add" ] && inst $rootdev_add /dev
initrd_gen_stop_udevd
+initrd_gen_stop_uvesafb
if [ "$INITRDFS" = "initramfs" ]; then
initrd_gen_initramfs_switchroot
Modified: geninitrd/trunk/mod-uvesafb.sh
==============================================================================
--- geninitrd/trunk/mod-uvesafb.sh (original)
+++ geninitrd/trunk/mod-uvesafb.sh Fri Aug 19 21:40:53 2011
@@ -46,3 +46,14 @@
inst_d /sbin
inst_exec $v86d /sbin
}
+
+initrd_gen_stop_uvesafb() {
+ if ! is_yes "$need_uvesafb"; then
+ return
+ fi
+
+ busybox_applet killall
+ add_linuxrc <<-'EOF'
+ killall v86d
+ EOF
+}
More information about the pld-cvs-commit
mailing list