It's not necessary and adds a lot of overhead for the build. Instead, just dynamically make an ext4 image of the fs when booting in QEMU.
9 lines
168 B
Makefile
9 lines
168 B
Makefile
|
|
all: ostree_switch_root chroot_break
|
|
|
|
ostree_switch_root: ostree_switch_root.c Makefile
|
|
gcc -Wall -o $@ $<
|
|
|
|
chroot_break: chroot_break.c Makefile
|
|
gcc -Wall -o $@ $<
|