diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-10-09 11:09:55 +0200 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2014-10-20 21:29:57 +0000 |
commit | 5805b2e09eba3ae381e5a2994e308a5b1d673f5d (patch) | |
tree | a4734aa39e682508537fc06fe87c4a95b0134f54 | |
parent | 1a213f9497330c3173500e4e27d0e21a694beba4 (diff) | |
download | drakx-5805b2e09eba3ae381e5a2994e308a5b1d673f5d.tar drakx-5805b2e09eba3ae381e5a2994e308a5b1d673f5d.tar.gz drakx-5805b2e09eba3ae381e5a2994e308a5b1d673f5d.tar.bz2 drakx-5805b2e09eba3ae381e5a2994e308a5b1d673f5d.tar.xz drakx-5805b2e09eba3ae381e5a2994e308a5b1d673f5d.zip |
don't bother create /dev/usb now
-rwxr-xr-x | tools/drakx-in-chroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 47a760b0e..b66df8755 100755 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -63,7 +63,7 @@ if (-d $SLASH_LOCATION) { rm_rf($SLASH_LOCATION); } -mkdir_p("$SLASH_LOCATION$_") foreach '/dev', '/dev/usb', '/etc', '/var', '/proc', '/sys', '/run', $STAGE2_LOCATION_ROOTED, $MEDIA_LOCATION_ROOTED, $prefix_ROOTED; +mkdir_p("$SLASH_LOCATION$_") foreach '/dev', '/etc', '/var', '/proc', '/sys', '/run', $STAGE2_LOCATION_ROOTED, $MEDIA_LOCATION_ROOTED, $prefix_ROOTED; sys("$sudo rm -rf $dir") if $ENV{CLEAN}; -e $dir or sys("$sudo mkdir -p $dir"); |