mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-12-25 21:58:38 +01:00
generate kernel package outside of SD image
This commit is contained in:
parent
888e32ec45
commit
05f9b5a77e
1 changed files with 3 additions and 3 deletions
6
build.sh
6
build.sh
|
@ -11,7 +11,7 @@ CWD=$(pwd)
|
||||||
|
|
||||||
# --- Configuration -------------------------------------------------------------
|
# --- Configuration -------------------------------------------------------------
|
||||||
IMG_NAME=${IMG_NAME:-"SlackwareARM_cubitruck"}
|
IMG_NAME=${IMG_NAME:-"SlackwareARM_cubitruck"}
|
||||||
VERSION=${VERSION:-0.2}
|
VERSION=${VERSION:-0.3}
|
||||||
COMPILE=${COMPILE:-"false"}
|
COMPILE=${COMPILE:-"false"}
|
||||||
DEST=${DEST:-$CWD/dist}
|
DEST=${DEST:-$CWD/dist}
|
||||||
CUBIETRUCK_DISPLAY=${CUBIETRUCK_DISPLAY:-"HDMI"} # "HDMI" or "VGA"
|
CUBIETRUCK_DISPLAY=${CUBIETRUCK_DISPLAY:-"HDMI"} # "HDMI" or "VGA"
|
||||||
|
@ -392,10 +392,10 @@ EOF
|
||||||
|
|
||||||
( cd $DEST/pkg-linux-sunxi
|
( cd $DEST/pkg-linux-sunxi
|
||||||
|
|
||||||
makepkg -l y -c n $DEST/image/sdcard/root/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
|
makepkg -l y -c n $DEST/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
|
||||||
)
|
)
|
||||||
|
|
||||||
installpkg --root $DEST/image/sdcard/ $DEST/image/sdcard/root/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
|
installpkg --root $DEST/image/sdcard/ $DEST/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
|
||||||
else
|
else
|
||||||
cat <<EOF > $DEST/image/sdcard/boot/uEnv.txt
|
cat <<EOF > $DEST/image/sdcard/boot/uEnv.txt
|
||||||
root=/dev/mmcblk0p1 ro rootwait
|
root=/dev/mmcblk0p1 ro rootwait
|
||||||
|
|
Loading…
Reference in a new issue