Skip to content

main/postmarketos-mkinitfs: support verbose boot (pmbootstrap#1730)

Zhuowei Zhang requested to merge zhuowei/pmaports:verbose-initfs into master

Adds a new initfs hook, verbose-initfs, which doesn't do anything on its own. Modify postmarketos-mkinitfs to check if this hook is installed and if so run set -x.

It's done this way so verbose boot is enabled as early as possible, before hooks are loaded.

Tested on the qemu-aarch64 device.

  • pmboostrap initfs hook_add verbose-initfs
  • pmbootstrap qemu --arch aarch64
  • confirmed that commands are echoed to the console

qemu_aarch64_verbose_initfs_screenshot

Closes pmbootstrap#1730 (closed)

Edited by Oliver Smith

Merge request reports