sys-fs/zfs: ${EROOT} includes /
authorRichard Yao <ryao@gentoo.org>
Fri, 11 Sep 2015 21:53:45 +0000 (17:53 -0400)
committerRichard Yao <ryao@gentoo.org>
Fri, 11 Sep 2015 21:53:45 +0000 (17:53 -0400)
Package-Manager: portage-2.2.20.1
Signed-off-by: Richard Yao <ryao@gentoo.org>
15 files changed:
sys-fs/zfs/zfs-0.6.0_rc13-r2.ebuild
sys-fs/zfs/zfs-0.6.0_rc14-r1.ebuild
sys-fs/zfs/zfs-0.6.1-r4.ebuild
sys-fs/zfs/zfs-0.6.2-r1.ebuild
sys-fs/zfs/zfs-0.6.2-r2.ebuild
sys-fs/zfs/zfs-0.6.2-r3.ebuild
sys-fs/zfs/zfs-0.6.2-r4.ebuild
sys-fs/zfs/zfs-0.6.2-r5.ebuild
sys-fs/zfs/zfs-0.6.2.ebuild
sys-fs/zfs/zfs-0.6.3-r2.ebuild
sys-fs/zfs/zfs-0.6.3.ebuild
sys-fs/zfs/zfs-0.6.4.2.ebuild
sys-fs/zfs/zfs-0.6.4.ebuild
sys-fs/zfs/zfs-0.6.5.ebuild
sys-fs/zfs/zfs-9999.ebuild

index ef49fd86683c33946fcd133bfc4b12ffed5cbdab..1e30b5895c69c9f85b9cd2c822475007d1cf13e3 100644 (file)
@@ -104,13 +104,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index 8d6fc4f406d57c2350937ceb769801fa48de0586..d77c6969923ea26dc94edae6b7846490b8415be2 100644 (file)
@@ -110,13 +110,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index 3f8d9e9183841c1290a88d64d8ccea4f2f902a33..31a1ee0a8e62516411c47be8578380cdbc087a13 100644 (file)
@@ -135,13 +135,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index 479144be280cdd952657cdab77d47846e157d984..b5d8952a79ff94c69ca68b09c3b1be6724b5f464 100644 (file)
@@ -133,13 +133,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index 25f16ca6ad5627e66564faa9c3f0e749b22b2ca0..9b9b1f65f8dbb95c4a6d4ef96e64aaf282bcb414 100644 (file)
@@ -133,13 +133,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index a3b52c11fd33febfce14b0a4737c32a749deab34..d15d9b465b8ff4d5bc28805b974b7ffea9467263 100644 (file)
@@ -133,13 +133,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index 8351d52fda3fc571f19646ea58065779aae42909..8070a53be49f9a5afccde42d885dcdd08c454662 100644 (file)
@@ -134,13 +134,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index c2dd53b524d9bdd04c0dcac7e02de8166c1be5cb..4b4401ddcd2d1dfb34d90e07dbd8d258cf894fcc 100644 (file)
@@ -134,13 +134,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index f40224da03d827e36326e4b32de1053923db2474..2b9ac7d31726d784a3310a5996a20ebba93634ad 100644 (file)
@@ -123,13 +123,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index a13ca799492ac5bce6d7e8901d1e872a83dd512f..6ee83c3ebf36838bd2eeab7c7ef57d9316312166 100644 (file)
@@ -131,13 +131,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index 13ebead856680a2a69e6d9aa1309b06fa6acfd72..ea2577ed3c69bb9c8038b0091c5841edbb318c29 100644 (file)
@@ -123,13 +123,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index abf9ee9000bf786dad58a98e8f1520cd3466fd26..eb1f74d640793c91699afae46dab4f6dadb9a33b 100644 (file)
@@ -123,13 +123,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index aeb66945896e2ae917e80d5c6742d415e4df89fc..f3d5411307419a817177d9f9345447d1c36c4c35 100644 (file)
@@ -124,13 +124,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index 7695557c2e0f14a2b8a1557181119fe38a6002bf..cfc238fce1093cf05bcb5baca1c5614ccff934db 100644 (file)
@@ -124,7 +124,7 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       if [ -e "${EROOT}/etc/runlevels/boot/zfs" ]
+       if [ -e "${EROOT}etc/runlevels/boot/zfs" ]
        then
                einfo 'The zfs boot script has been split into the zfs-import,'
                einfo 'zfs-mount and zfs-share scripts, with zed being added in the'
@@ -136,29 +136,29 @@ pkg_postinst() {
                einfo 'The zfs-import and zfs-mount scripts have been added to the boot'
                einfo 'runlevel while the zfs-share script is in the default runlevel.'
 
-               rm "${EROOT}/etc/runlevels/boot/zfs"
-               ln -snf "${EROOT}/etc/init.d/zfs-import" \
-                       "${EROOT}/etc/runlevels/boot/zfs-import"
-               ln -snf "${EROOT}/etc/init.d/zfs-mount" \
-                       "${EROOT}/etc/runlevels/boot/zfs-mount"
-               ln -snf "${EROOT}/etc/init.d/zfs-share" \
-                       "${EROOT}/etc/runlevels/default/zfs-share"
+               rm "${EROOT}etc/runlevels/boot/zfs"
+               ln -snf "${EROOT}etc/init.d/zfs-import" \
+                       "${EROOT}etc/runlevels/boot/zfs-import"
+               ln -snf "${EROOT}etc/init.d/zfs-mount" \
+                       "${EROOT}etc/runlevels/boot/zfs-mount"
+               ln -snf "${EROOT}etc/init.d/zfs-share" \
+                       "${EROOT}etc/runlevels/default/zfs-share"
        else
-               [ -e "${EROOT}/etc/runlevels/boot/zfs-import" ] || \
+               [ -e "${EROOT}etc/runlevels/boot/zfs-import" ] || \
                        einfo "You should add zfs-import to the boot runlevel."
-               [ -e "${EROOT}/etc/runlevels/boot/zfs-mount" ] || \
+               [ -e "${EROOT}etc/runlevels/boot/zfs-mount" ] || \
                        einfo "You should add zfs-mount to the boot runlevel."
-               [ -e "${EROOT}/etc/runlevels/default/zfs-share" ] || \
+               [ -e "${EROOT}etc/runlevels/default/zfs-share" ] || \
                        einfo "You should add zfs-share to the default runlevel."
        fi
 
-       [ -e "${EROOT}/etc/runlevels/default/zfs-zed" ] || \
+       [ -e "${EROOT}etc/runlevels/default/zfs-zed" ] || \
                einfo "You should add zfs-zed to the default runlevel."
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }
index d5eac199033af2cc8d14fee33fe287a96f45ee72..0bb7b67182774a95f13f33fa1384da5101f3ea3f 100644 (file)
@@ -132,13 +132,13 @@ pkg_postinst() {
                update_moduledb
        fi
 
-       [ -e "${EROOT}/etc/runlevels/boot/zfs" ] \
+       [ -e "${EROOT}etc/runlevels/boot/zfs" ] \
                || ewarn 'You should add zfs to the boot runlevel.'
 
-       if [ -e "${EROOT}/etc/runlevels/shutdown/zfs-shutdown" ]
+       if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ]
        then
                einfo "The zfs-shutdown script is obsolete. Removing it from runlevel."
-               rm "${EROOT}/etc/runlevels/shutdown/zfs-shutdown"
+               rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
 }