Skip to content

Commit

Permalink
extra: Add helper for debos
Browse files Browse the repository at this point in the history
For the record on ubuntu 22.04.4 images can be generated using:

  time sudo make rpi_2 flags+=--disable-fakemachine

Signed-off-by: Philippe Coval <[email protected]>
Change-Id: Ifca2ebd30a5af1e3d5ffef003813a22c94904ec0
  • Loading branch information
rzr committed Apr 4, 2024
1 parent 8710663 commit 1278841
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 1278841

Please sign in to comment.