Skip to content

Commit 3edca54

Browse files
committed
Fixed path for calling build_uec_ramdisk.sh from build_usb_boot.sh
Bug desc: build_usb_boot.sh is unable to find build_uec_ramdisk.sh while being called from tools directory. Variable with correct path wasn't been used at all. Change-Id: I5ddff3d587a495e6768163f6b282e5b5f7a40849
1 parent 161e280 commit 3edca54

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/build_usb_boot.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
DEST_DIR=${1:-/tmp/syslinux-boot}
1313
PXEDIR=${PXEDIR:-/opt/ramstack/pxe}
14-
PROGDIR=`dirname $0`
1514

1615
# Clean up any resources that may be in use
1716
cleanup() {
@@ -81,7 +80,7 @@ fi
8180
# Get image into place
8281
if [ ! -r $PXEDIR/stack-initrd.img ]; then
8382
cd $TOP_DIR
84-
$PROGDIR/build_uec_ramdisk.sh $PXEDIR/stack-initrd.img
83+
$TOOLS_DIR/build_uec_ramdisk.sh $PXEDIR/stack-initrd.img
8584
fi
8685
if [ ! -r $PXEDIR/stack-initrd.gz ]; then
8786
gzip -1 -c $PXEDIR/stack-initrd.img >$PXEDIR/stack-initrd.gz

0 commit comments

Comments
 (0)