fix(smaug): use deviceinfo_depthcharge_compression="lzma"
All threads resolved!
All threads resolved!
Smaug (Google Pixel C) cannot be built because it fails with:
==> Running hooks
==> kernel: device-tree blob operations
==> Generating vmlinuz.kpart
Building depthcharge image for board 'Google Pixel C' ('smaug').
Image with compression 'none' is too big for this board.
Couldn't build a small enough image for this board. This is usually solvable by making the initramfs smaller, check your OS's documentation on how to do so.
15:28:31.099172 boot-deploy completed in: 6.38s
15:28:31.099313 exit status 3
15:28:31.099878 boot-deploy failed
15:28:31.102655 mkinitfs completed in: 10.10s
(272458) [16:28:31] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(272458) [16:28:31] NOTE: The failed command's output is above the ^^^ line in the log file: /Users/username/pmos/log.txt
(272458) [16:28:31] ERROR: Command failed (exit code 1): (rootfs_google-smaug) % mkinitfs
(272458) [16:28:31] See also: <https://postmarketos.org/troubleshooting>
(272458) [16:28:31] Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pmb/__init__.py", line 111, in main
run_command(args)
~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/commands/__init__.py", line 56, in run_command
getattr(frontend, args.action)(args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/helpers/frontend.py", line 416, in install
pmb.install.install(args)
~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/install/_install.py", line 1437, in install
create_device_rootfs(args, step, steps)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/install/_install.py", line 1378, in create_device_rootfs
pmb.chroot.initfs.build(flavor, chroot)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/chroot/initfs.py", line 24, in build
pmb.chroot.root(["mkinitfs"], chroot)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/chroot/run.py", line 171, in root
return rootm(
[cmds],
...<7 lines>...
add_proxy_env_vars,
)
File "/usr/lib/python3.13/site-packages/pmb/chroot/run.py", line 99, in rootm
return pmb.helpers.run_core.core(
~~~~~~~~~~~~~~~~~~~~~~~~~^
msg, cmd_sudo, None, output, output_return, check, True, disable_timeout
This MR fixes the issue. I wasn't aware of this option but the Matrix room helped! https://matrix.to/#/!VxOuExSwQximPkjXqT:postmarketos.org/$lg6Z-dEfGVFivH8AlBpt9nfKX6zVtQXE9fiAoTl3L4A?via=postmarketos.org&via=matrix.org&via=tchncs.de
Edited by Denys Vitali
Merge request reports
Activity
- Resolved by Denys Vitali
thank you for opening this MR! just another minor nitpit, the commit message should follow the COMMITSTYLE.md, e.g.:
-fix(smaug): use deviceinfo_depthcharge_compression="lzma" +device-google-smaug: use deviceinfo_depthcharge_compression="lzma"
added 57 commits
-
64fc38de...a28e39b9 - 56 commits from branch
postmarketOS:master
- bb053e09 - device-google-smaug: use deviceinfo_depthcharge_compression="lzma"
-
64fc38de...a28e39b9 - 56 commits from branch
- Resolved by achill (fossdd)
added 11 commits
-
bb053e09...fe59d6eb - 10 commits from branch
postmarketOS:master
- 3c80e22f - device-google-smaug: use deviceinfo_depthcharge_compression="lzma"
-
bb053e09...fe59d6eb - 10 commits from branch
mentioned in commit denysvitali/pmaports@e0188360
Please register or sign in to reply