Commit a8801b82 authored by Guido Gunther's avatar Guido Gunther

lava.sh: Move needed data to files/

This will allow us to simplify uploading
parent 629cb78e
......@@ -2,4 +2,8 @@
*.img
*.img.xz
*.img.log
files/
files/*.changes
files/*.deb
files/*.debian.tar.gz
files/*.dsc
files/*.orig.tar.gz
......@@ -13,7 +13,7 @@ $(IMAGE): lava.sh root.sh
xz -T0 --stdout $< > $@
clean:
rm -f *.deb *.img *.img.*
rm -f files/ *.img *.img.*
check:
bash -n lava.sh root.sh
......@@ -77,7 +77,7 @@ done
echo "Installing extra packages ${PACKAGES}"
kernel_deb=linux-image-${kernel_version}_${arch}.deb
[ -f "${kernel_deb}" ] || wget "${kernel_url}/${kernel_deb}"
[ -f "files/${kernel_deb}" ] || wget -Pfiles/ "${kernel_url}/${kernel_deb}"
sudo pureos_board=${pureos_board} distro=${distro} arch=${arch} vmdebootstrap \
--enable-dhcp --no-kernel \
......@@ -95,7 +95,7 @@ sudo pureos_board=${pureos_board} distro=${distro} arch=${arch} vmdebootstrap \
--no-update-initramfs \
--bootsize 200M \
--boottype ext2 \
--custom-package "${kernel_deb}" \
--custom-package "files/${kernel_deb}" \
--owner $(whoami) \
${NULL}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment