Update ynh-dev armhf wip5

This commit is contained in:
rosbeef andino 2023-11-13 00:06:44 +00:00 committed by GitHub
parent dbad961abe
commit 5570660d7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,9 +228,9 @@ function rebuild_ynhdev()
if [[ ${ARCH} -eq "armhf" ]] ;
then
sudo apt install debootstrap -y
sudo mkdir -p ~/lxc-images/debian-$DIST
sudo debootstrap $DIST ~/lxc-images/debian-$DIST
sudo tar -cvzf rootfs.tar.gz -C ~/lxc-images/debian-$DIST
sudo mkdir -p ~/lxc-images/debian-$DIST/img
sudo debootstrap $DIST ~/lxc-images/debian-$DIST/img
sudo tar -cvzf ~/lxc-images/debian-$DIST/rootfs.tar.gz -C ~/lxc-images/debian-$DIST/img
sudo cat << EOF > ~/lxc-images/debian-$DIST/metadata.yaml
creation_date: $(date +%s)
properties: