Changeset 193 for quickinst/quickinst


Ignore:
Timestamp:
23.10.2008 14:38:12 (21 months ago)
Author:
henning
Message:

quickinst: removed old fstab generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quickinst/quickinst

    r192 r193  
    1919Options: 
    2020    -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. 
    2322    -i <file>  Include packages from <file> in the installation. <file> should 
    2423               contain one package name per line. 
     
    3635        case $1 in 
    3736                -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;; 
    4038                -i) 
    4139                        [ ! -f $2 ] && 
     
    152150[ $fstab ] && { 
    153151        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/fstab 
    157         done 
    158 } 
    159  
    160 [ $fstab_uuid ] && { 
    161         grep $target /proc/mounts | while read line; do 
    162152                device=$(echo $line | cut -d ' ' -f 1) 
    163153                uuid=$(/lib/udev/vol_id --uuid $device) 
Note: See TracChangeset for help on using the changeset viewer.