Update ynh-dev armhf wip3

This commit is contained in:
rosbeef andino 2023-11-12 23:44:51 +00:00 committed by GitHub
parent ae2b8b6108
commit d557bd391a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,7 @@ function rebuild_ynhdev()
set -x set -x
sudo lxc info $BOX-rebuild >/dev/null && sudo lxc delete $BOX-rebuild --force sudo lxc info $BOX-rebuild >/dev/null && sudo lxc delete $BOX-rebuild --force
if [[ ${ARCH} eq "armhf" ]] if [[ ${ARCH} eq "armhf" ]]
sudo apt install debootstrap sudo apt install debootstrap -y
sudo mkdir -p ~/lxc-images/debian-$DIST sudo mkdir -p ~/lxc-images/debian-$DIST
sudo debootstrap $DIST ~/lxc-images/debian-$DIST sudo debootstrap $DIST ~/lxc-images/debian-$DIST
sudo tar -cvzf rootfs.tar.gz -C ~/lxc-images/debian-$DIST sudo tar -cvzf rootfs.tar.gz -C ~/lxc-images/debian-$DIST