mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Update ynh-dev armhf wip5
This commit is contained in:
parent
dbad961abe
commit
5570660d7c
1 changed files with 3 additions and 3 deletions
6
ynh-dev
6
ynh-dev
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue