Skip to content

Add architecture argument for the buildroot chroot

Daniele Debernardi requested to merge feature/chroot-buildroot-architecture into master

This allows to run the following commands:

pmbootstrap chroot --buildroot x86_64 pmbootstrap chroot --buildroot aarch64 pmbootstrap chroot --buildroot armhf and pmbootstrap chroot --buildroot device which is also the default if no argument is passed.

The device gets replace with the architecture of the device selected in pmbootstrap init, which is the same behavior as before.

Also added a simple test case that runs uname -m in every chroot and checks the output.

Merge request reports