Skip to content

Commit

Permalink
fixed build in one script
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovikov committed May 10, 2019
1 parent a4f2382 commit 33588ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build
Expand Up @@ -57,6 +57,14 @@ cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/sysl
cat bootfiles/bootinst.bat | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" | sed -r "s:\\\\boot\\\\:\\\\$LIVEKITNAME\\\\boot\\\\:" > $BOOT/bootinst.bat
cp $VMLINUZ $BOOT/

#
if [ ! -f "SbcOS/build/img/sbc-public.${BEXT}" ]; then
echo "rootfs sbc-public.${BEXT} doesnt exist. Go there and compiling it!"
cd SbcOS
./build_rootfs.sh
cd ..
fi

cp SbcOS/build/img/*.$BEXT $LIVEKITDATA/$LIVEKITNAME/

cd "$LIVEKITDATA"
Expand Down

0 comments on commit 33588ab

Please sign in to comment.