[arch-releng] [PATCH 1/4] [configs/*] Remove custom fstab, not needed anymore.

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sat Aug 13 22:12:57 EDT 2011


Without fstab system start and shutdown without any issues
(thanks to recent changes in initscripts).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 configs/baseline/build.sh             |    9 ---------
 configs/baseline/root-image/etc/fstab |    2 --
 configs/releng/root-image/etc/fstab   |    5 -----
 3 files changed, 0 insertions(+), 16 deletions(-)
 delete mode 100644 configs/baseline/root-image/etc/fstab
 delete mode 100644 configs/releng/root-image/etc/fstab

diff --git a/configs/baseline/build.sh b/configs/baseline/build.sh
index 0dbed2a..11d4145 100755
--- a/configs/baseline/build.sh
+++ b/configs/baseline/build.sh
@@ -16,14 +16,6 @@ make_basefs() {
     mkarchiso ${verbose} -D "${install_dir}" -p "syslinux" create "${work_dir}"
 }
 
-# Customize installation (root-image)
-make_customize_root_image() {
-    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
-        cp -af root-image ${work_dir}
-        : > ${work_dir}/build.${FUNCNAME}
-    fi
-}
-
 # Copy mkinitcpio archiso hooks (root-image)
 make_setup_mkinitcpio() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
@@ -94,7 +86,6 @@ else
 fi
 
 make_basefs
-make_customize_root_image
 make_setup_mkinitcpio
 make_boot
 make_syslinux
diff --git a/configs/baseline/root-image/etc/fstab b/configs/baseline/root-image/etc/fstab
deleted file mode 100644
index 4b82b80..0000000
--- a/configs/baseline/root-image/etc/fstab
+++ /dev/null
@@ -1,2 +0,0 @@
-# <file system>        <dir>         <type>    <options>          <dump> <pass>
-/dev/mapper/root-image /             auto      defaults           0      0
diff --git a/configs/releng/root-image/etc/fstab b/configs/releng/root-image/etc/fstab
deleted file mode 100644
index 0df0cba..0000000
--- a/configs/releng/root-image/etc/fstab
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# /etc/fstab: static file system information
-#
-# <file system>        <dir>         <type>    <options>          <dump> <pass>
-/dev/mapper/root-image /             auto      defaults           0      0
-- 
1.7.6



More information about the arch-releng mailing list