Failing to build RECOVERY-FLASHABLE ZIP due to ERROR: 'Namespace' object has no attribute 'no_reboot'
When running pmbootstrap install --android-recovery-zip
it fails with ERROR: 'Namespace' object has no attribute 'no_reboot'
this is the same for both samsung-matisselte and samsung-jackpotlte choices in pmbootstrap init
I would assume that it is a new parameter introduced and not propagated to the conmfiguration for those devices?
23:27:14.376982 mkinitfs completed in: 23.56s
(3793131) [00:27:14] *** SET LOGIN PASSWORD FOR: 'jss' ***
(3793131) [00:27:14] (rootfs_samsung-matisselte) % passwd jss
New password:
Retype new password:
Sorry, passwords do not match.
passwd: Failed preliminary check by password service
passwd: password unchanged
(3793131) [00:27:27] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(3793131) [00:27:27] NOTE: The failed command's output is above the ^^^ line in the log file: /home/jss/.local/var/pmbootstrap/log.txt
(3793131) [00:27:27] WARNING: Failed to set the password. Try it one more time.
(3793131) [00:27:27] (rootfs_samsung-matisselte) % passwd jss
New password:
Retype new password:
passwd: password updated successfully
(3793131) [00:27:34] (rootfs_samsung-matisselte) % grep ^root:!: /etc/shadow
(3793131) [00:27:34] (rootfs_samsung-matisselte) locking root
(3793131) [00:27:34] (rootfs_samsung-matisselte) % passwd -l root
passwd: password changed.
(3793131) [00:27:34] NOTE: No valid keymap specified for device
(3793131) [00:27:34] (rootfs_samsung-matisselte) % setup-timezone -i Europe/Copenhagen
(3793131) [00:27:40] (rootfs_samsung-matisselte) % sh -c echo a8001 > /etc/hostname
(3793131) [00:27:40] (rootfs_samsung-matisselte) % sed -i -e s/^127\.0\.0\.1.*/127.0.0.1\ta8001 localhost.localdomain localhost/ /etc/hosts
(3793131) [00:27:40] *** (3/3) CREATING RECOVERY-FLASHABLE ZIP ***
(3793131) [00:27:40] % sudo mkdir -p /home/jss/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/rootfs_samsung-matisselte
(3793131) [00:27:40] % sudo mount --bind /home/jss/.local/var/pmbootstrap/chroot_rootfs_samsung-matisselte /home/jss/.local/var/pmbootstrap/chroot_buildroot_armv7/mnt/rootfs_samsung-matisselte
(3793131) [00:27:40] (rootfs_samsung-matisselte) calculate depends of device-samsung-matisselte (pmbootstrap -v for details)
(3793131) [00:27:40] (rootfs_samsung-matisselte) install device-samsung-matisselte
(3793131) [00:27:40] % sudo rm -f /home/jss/.local/var/pmbootstrap/chroot_rootfs_samsung-matisselte/tmp/apk_progress_fifo
(3793131) [00:27:40] % sudo mkfifo /home/jss/.local/var/pmbootstrap/chroot_rootfs_samsung-matisselte/tmp/apk_progress_fifo
(3793131) [00:27:40] (rootfs_samsung-matisselte) % cat /tmp/apk_progress_fifo
(3793131) [00:27:40] (rootfs_samsung-matisselte) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add device-samsung-matisselte --no-interactive
(3793131) [00:27:40] New background process: pid=3797743, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
OK: 135 MiB in 218 packages
(3793131) [00:27:46] (rootfs_samsung-matisselte) % apk --no-progress del openssh-client-krb5 vlan --no-interactive
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
OK: 135 MiB in 218 packages
(3793131) [00:27:51] ERROR: 'Namespace' object has no attribute 'no_reboot'
(3793131) [00:27:51] See also: <https://postmarketos.org/troubleshooting>
(3793131) [00:27:51] Traceback (most recent call last):
File "/home/jss/android/pmbootstrap/pmb/__init__.py", line 63, in main
getattr(frontend, args.action)(args)
File "/home/jss/android/pmbootstrap/pmb/helpers/frontend.py", line 325, in install
pmb.install.install(args)
File "/home/jss/android/pmbootstrap/pmb/install/_install.py", line 1263, in install
return install_recovery_zip(args, steps)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jss/android/pmbootstrap/pmb/install/_install.py", line 988, in install_recovery_zip
pmb.install.recovery.create_zip(args, suffix)
File "/home/jss/android/pmbootstrap/pmb/install/recovery.py", line 19, in create_zip
vars = pmb.flasher.variables(args, flavor, method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jss/android/pmbootstrap/pmb/flasher/variables.py", line 66, in variables
if args.no_reboot:
^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'no_reboot'
(3801485) [00:35:17] % tail -n 60 -F /home/jss/.local/var/pmbootstrap/log.txt
(3801485) [00:35:17] *** output passed to pmbootstrap stdout, not to this log ***