Changeset 191 for quickinst/quickinst


Ignore:
Timestamp:
23.10.2008 14:29:53 (21 months ago)
Author:
henning
Message:

quickinst: bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quickinst/quickinst

    r190 r191  
    2020    -c         Force chroot on Arch Linux. Local pacman cache will not be used. 
    2121    -f         Generate fstab. Don't rely on that. 
    22         -fu        Generate fstab with UUIDs. Don't rely on that, either. 
    23         -i <file>  Include packages from <file> in the installation. <file> should 
     22    -fu        Generate fstab with UUIDs. Don't rely on that, either. 
     23    -i <file>  Include packages from <file> in the installation. <file> should 
    2424               contain one package name per line. 
    2525    -x         Xen mode. Activate serial console and deactivate virtual 
     
    7979[ $on_arch ] && { 
    8080        mkdir -p $(dirname $cache) 
     81        mkdir -p $target/var/lib/pacman 
    8182        ln -s /var/cache/pacman/pkg $cache 
    8283} || { 
     
    165166                        repl='/' || repl='' 
    166167 
    167                 echo $line | sed -e "s:$target:$repl:" -e "s:$device:UUID=$uuid:" 
     168                [ "$uuid" != "" ] && 
     169                        echo $line | sed -e "s:$target:$repl:" -e "s:$device:UUID=$uuid:" \ 
     170                                >> etc/fstab 
    168171        done 
    169172} 
Note: See TracChangeset for help on using the changeset viewer.