Skip to content

Commit

Permalink
extra: Add helper for debos
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Coval <[email protected]>
Change-Id: Ifca2ebd30a5af1e3d5ffef003813a22c94904ec0
  • Loading branch information
rzr committed Mar 13, 2024
1 parent cd417c3 commit 7a3382f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions extra/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ flags+=--scratchsize=${scratchsize}
flags+=-tsuite:${suite}
flags+=-tmirror:${mirror}

# Disable if needed (ubuntu-22.04)
# flags+=--disable-fakemachine

images_lists ?= ${project}-i386-generic.img
images_lists += ${project}-amd64-generic.img

Expand All @@ -37,6 +40,11 @@ help: Makefile
@echo "# ${<D}/${<F} help # This help"
@echo "# ${<D}/${<F} img architecture=${architecture} machine=${machine} # To build image"

setup:
${sudo} apt install -y debos
${sudo} usermod -a -G kvm ${USER}
${sudo} chmod -R a+r /boot/vmlinuz-$(shell uname -r)

all: img

rule/debos/%.yaml: debos/%.yaml \
Expand Down

0 comments on commit 7a3382f

Please sign in to comment.