Changeset 193 for quickinst/quickinst
- Timestamp:
- 23.10.2008 14:38:12 (21 months ago)
- File:
-
- 1 edited
-
quickinst/quickinst (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quickinst/quickinst
r192 r193 19 19 Options: 20 20 -c Force chroot on Arch Linux. Local pacman cache will not be used. 21 -f Generate fstab. Don't rely on that. 22 -fu Generate fstab with UUIDs. Don't rely on that, either. 21 -f Generate fstab with UUIDs. Don't rely on that. 23 22 -i <file> Include packages from <file> in the installation. <file> should 24 23 contain one package name per line. … … 36 35 case $1 in 37 36 -c) chroot=true; shift;; 38 -f) fstab=true; fstab_uuid=false; shift;; 39 -fu) fstab_uuid=true; fstab=false; shift;; 37 -f) fstab=true; shift;; 40 38 -i) 41 39 [ ! -f $2 ] && … … 152 150 [ $fstab ] && { 153 151 grep $target /proc/mounts | while read line; do 154 [ "$(echo $line | sed -e "s:$target::" | cut -d ' ' -f 2)" == "" ] &&155 repl='/' || repl=''156 echo $line | sed -e "s:$target:$repl:" >> etc/fstab157 done158 }159 160 [ $fstab_uuid ] && {161 grep $target /proc/mounts | while read line; do162 152 device=$(echo $line | cut -d ' ' -f 1) 163 153 uuid=$(/lib/udev/vol_id --uuid $device)
Note: See TracChangeset
for help on using the changeset viewer.

