mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-11 19:31:18 +00:00
First batch of obvious changes - use better shellism, only call make (without make install).
This commit is contained in:
parent
a3a9b2ab60
commit
2947cdbe60
@ -32,10 +32,7 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
||||
mv seed.manifest "$PREFIX".manifest
|
||||
else
|
||||
# First we need to build the gadget tree
|
||||
(
|
||||
cd config/$PREFIX-gadget
|
||||
make && make install
|
||||
)
|
||||
make -C "config/$PREFIX-gadget"
|
||||
ubuntu-image classic $UBUNTU_IMAGE_ARGS \
|
||||
-p $PROJECT -a $ARCH --subarch $SUBARCH \
|
||||
-o "$PREFIX".img config/$PREFIX-gadget/install
|
||||
|
@ -218,12 +218,8 @@ case $IMAGEFORMAT in
|
||||
# classic images
|
||||
|
||||
UBUNTU_IMAGE_ARGS=""
|
||||
if [ "$PROPOSED" ]; then
|
||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --with-proposed"
|
||||
fi
|
||||
if [ "$EXTRA_PPAS" ]; then
|
||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --extra-ppas \"$EXTRA_PPAS\""
|
||||
fi
|
||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS${PROPOSED:+ --with-proposed}"
|
||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS${EXTRA_PPAS:+ --extra-ppas \"$EXTRA_PPAS\"}"
|
||||
|
||||
git clone lp:~canonical-foundations/snap-$MODEL/+git/github-mirror -b classic config/$PREFIX-gadget
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user