1
0
mirror of synced 2026-04-25 20:11:20 +00:00

2006-08-15 09:19:24 by steve

Added "--noswap" option.
  See: #383058
This commit is contained in:
steve
2006-08-15 09:19:25 +00:00
parent 843f2a54a8
commit 3e1e2d123b
6 changed files with 75 additions and 13 deletions

View File

@@ -60,11 +60,22 @@ fi
#
cat <<E_O_FSTAB > ${prefix}/etc/fstab
/dev/${device}1 / ${fs} ${options} 0 1
/dev/${device}2 none swap sw 0 0
proc /proc proc defaults 0 0
E_O_FSTAB
#
# Add in the swap unless it is disabled
#
if [ "${noswap}" ]; then
#
else
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
/dev/${device}2 none swap sw 0 0
E_O_FSTAB
fi
#
# Finally we can install any required packages for the given root
# filesystem

View File

@@ -61,10 +61,20 @@ fi
#
cat <<E_O_FSTAB > ${prefix}/etc/fstab
/dev/${device}1 / ${fs} ${options} 0 1
/dev/${device}2 none swap sw 0 0
proc /proc proc defaults 0 0
E_O_FSTAB
#
# Add in the swap unless it is disabled
#
if [ "${noswap}" ]; then
#
else
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
/dev/${device}2 none swap sw 0 0
E_O_FSTAB
fi
#
# Finally we can install any required packages for the given root

View File

@@ -60,11 +60,23 @@ fi
#
cat <<E_O_FSTAB > ${prefix}/etc/fstab
/dev/${device}1 / ${fs} ${options} 0 1
/dev/${device}2 none swap sw 0 0
proc /proc proc defaults 0 0
E_O_FSTAB
#
# Add in the swap unless it is disabled
#
if [ "${noswap}" ]; then
#
else
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
/dev/${device}2 none swap sw 0 0
E_O_FSTAB
fi
#
# Finally we can install any required packages for the given root
# filesystem

View File

@@ -58,11 +58,22 @@ fi
#
cat <<E_O_FSTAB > ${prefix}/etc/fstab
/dev/${device}1 / ${fs} ${options} 0 1
/dev/${device}2 none swap sw 0 0
proc /proc proc defaults 0 0
E_O_FSTAB
#
# Add in the swap unless it is disabled
#
if [ "${noswap}" ]; then
#
else
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
/dev/${device}2 none swap sw 0 0
E_O_FSTAB
fi
#
# Log our finish
#

View File

@@ -61,10 +61,20 @@ fi
#
cat <<E_O_FSTAB > ${prefix}/etc/fstab
/dev/${device}1 / ${fs} ${options} 0 1
/dev/${device}2 none swap sw 0 0
proc /proc proc defaults 0 0
E_O_FSTAB
#
# Add in the swap unless it is disabled
#
if [ "${noswap}" ]; then
#
else
cat <<E_O_FSTAB >> ${prefix}/etc/fstab
/dev/${device}2 none swap sw 0 0
E_O_FSTAB
fi
#
# Finally we can install any required packages for the given root