diff options
author | 2008-01-31 16:36:43 +0000 | |
---|---|---|
committer | 2008-01-31 16:36:43 +0000 | |
commit | 67a47ca6280ec29438eedd15eb767de692779101 (patch) | |
tree | 7fa9a8ba711d74b0d06025eea7960015150b76c8 | |
parent | Stop portage removing our mount points. (diff) | |
download | uberlord-67a47ca6280ec29438eedd15eb767de692779101.tar.gz uberlord-67a47ca6280ec29438eedd15eb767de692779101.tar.bz2 uberlord-67a47ca6280ec29438eedd15eb767de692779101.zip |
Update ebuild for new boot scripts.
-rw-r--r-- | sys-apps/openrc/Manifest | 8 | ||||
-rw-r--r-- | sys-apps/openrc/openrc-9999.ebuild | 10 |
2 files changed, 10 insertions, 8 deletions
diff --git a/sys-apps/openrc/Manifest b/sys-apps/openrc/Manifest index 651f2da..4e3af12 100644 --- a/sys-apps/openrc/Manifest +++ b/sys-apps/openrc/Manifest @@ -1,7 +1,7 @@ -EBUILD openrc-9999.ebuild 3832 RMD160 28e377a49ad97d99d7f3014e5de454ec7ed16e98 SHA1 6c9066c6eca1aa7762c5e18d91f0bfb73ff2b102 SHA256 951b932d5f0cdaa1a596cde0bd3020d198d38035d768bfb34f531115e68b119f -MD5 fb2851ebaf4b4e387810bce058e196f4 openrc-9999.ebuild 3832 -RMD160 28e377a49ad97d99d7f3014e5de454ec7ed16e98 openrc-9999.ebuild 3832 -SHA256 951b932d5f0cdaa1a596cde0bd3020d198d38035d768bfb34f531115e68b119f openrc-9999.ebuild 3832 +EBUILD openrc-9999.ebuild 3948 RMD160 cc1a3c5764b337f1b512953ff1bfa9f4940170f6 SHA1 0ee753de453237c21694e50292e32300e90395af SHA256 5518e77dc5f4e43018ca65d2741606e8a73da0a821f72156391a09c420fcc174 +MD5 d8b1fa80d5232973fe2b42fc26f86e18 openrc-9999.ebuild 3948 +RMD160 cc1a3c5764b337f1b512953ff1bfa9f4940170f6 openrc-9999.ebuild 3948 +SHA256 5518e77dc5f4e43018ca65d2741606e8a73da0a821f72156391a09c420fcc174 openrc-9999.ebuild 3948 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-openrc-9999 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-openrc-9999 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-openrc-9999 0 diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild index 97887b7..d270bbe 100644 --- a/sys-apps/openrc/openrc-9999.ebuild +++ b/sys-apps/openrc/openrc-9999.ebuild @@ -92,12 +92,14 @@ pkg_preinst() { # so handle upgraders if ! has_version sys-apps/openrc; then local x= xtra= - use kernel_linux && xtra="${xtra} procfs sysctl" + use kernel_linux && xtra="${xtra} mtab procfs sysctl" use kernel_FreeBSD && xtra="${xtra} savecore dumpon" - for x in swap ${xtra}; do + for x in fsck root swap ${xtra}; do [ -e "${ROOT}"etc/runlevels/boot/"${x}" ] && continue ln -snf /etc/init.d/"${x}" "${ROOT}"etc/runlevels/boot/"${x}" done + + # We should also remove checkfs and checkroot fi # Upgrade out state for baselayout-1 users @@ -121,8 +123,8 @@ pkg_preinst() { } pkg_postinst() { - # Make our runlevels if they don't exist - if [ ! -e "${ROOT}"etc/runlevels ]; then + # Make our runlevels if they don't exist or we're a development version. + if [ ! -e "${ROOT}"etc/runlevels -o "${PV}" = "9999" ]; then einfo "Copying across default runlevels" cp -RPp "${ROOT}"usr/share/"${PN}"/runlevels "${ROOT}"/etc fi |