From c34a979d20e9bb5340a67a507fb71316362b25ac Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 6 Jul 2011 10:58:26 +0200 Subject: [PATCH] [scripts] fixup openrc setup to work with latest openrc --- scripts/3rdparty/remaster_mcs_inner_chroot_script_after.sh | 1 + scripts/inner_chroot_script.sh | 1 + scripts/remaster_generic_inner_chroot_script_after.sh | 1 + scripts/remaster_serverbase_inner_chroot_script_after.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/scripts/3rdparty/remaster_mcs_inner_chroot_script_after.sh b/scripts/3rdparty/remaster_mcs_inner_chroot_script_after.sh index 03f43f7..7fbede2 100755 --- a/scripts/3rdparty/remaster_mcs_inner_chroot_script_after.sh +++ b/scripts/3rdparty/remaster_mcs_inner_chroot_script_after.sh @@ -222,6 +222,7 @@ equo rescue vacuum rm /var/lib/entropy/logs -rf # Generate openrc cache +touch /lib/rc/init.d/softlevel /etc/init.d/savecache start /etc/init.d/savecache zap diff --git a/scripts/inner_chroot_script.sh b/scripts/inner_chroot_script.sh index 59fd4ae..d9b31dd 100755 --- a/scripts/inner_chroot_script.sh +++ b/scripts/inner_chroot_script.sh @@ -55,6 +55,7 @@ echo "Vacuum cleaning client db" equo rescue vacuum # Generate openrc cache +touch /lib/rc/init.d/softlevel /etc/init.d/savecache start /etc/init.d/savecache zap diff --git a/scripts/remaster_generic_inner_chroot_script_after.sh b/scripts/remaster_generic_inner_chroot_script_after.sh index fe195a4..e93572b 100755 --- a/scripts/remaster_generic_inner_chroot_script_after.sh +++ b/scripts/remaster_generic_inner_chroot_script_after.sh @@ -319,6 +319,7 @@ cp /etc/entropy/repositories.conf.example /etc/entropy/repositories.conf || exit rm /var/lib/entropy/logs -rf # Generate openrc cache +touch /lib/rc/init.d/softlevel /etc/init.d/savecache start /etc/init.d/savecache zap diff --git a/scripts/remaster_serverbase_inner_chroot_script_after.sh b/scripts/remaster_serverbase_inner_chroot_script_after.sh index cd27b5b..5afedd8 100755 --- a/scripts/remaster_serverbase_inner_chroot_script_after.sh +++ b/scripts/remaster_serverbase_inner_chroot_script_after.sh @@ -17,6 +17,7 @@ mount -t proc proc /proc /lib/rc/bin/rc-depend -u # Generate openrc cache +touch /lib/rc/init.d/softlevel /etc/init.d/savecache start /etc/init.d/savecache zap