changeset 162:fec886bc24b9

Bug pointed out by blaster8 on #firmware: losetup is in sbin and there's no guarantee sbin is in $PATH.
author Rob Landley <rob@landley.net>
date Wed, 11 Apr 2007 18:21:51 -0400
parents ecf6d9286e2b
children 729dd17a7b74
files package-mini-native.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/package-mini-native.sh	Wed Apr 11 18:00:53 2007 -0400
+++ b/package-mini-native.sh	Wed Apr 11 18:21:51 2007 -0400
@@ -23,7 +23,7 @@
 # Jump to build dir
 echo copying files...
 cd "$BUILD"
-losetup /dev/loop1 "$IMAGE"
+/sbin/losetup /dev/loop1 "$IMAGE"
 mount -n -t ext2 /dev/loop1 "$WORK"
 tar cC "$NATIVE" tools | tar xC "$WORK"
 mkdir "$WORK"/dev