Skip to content
Snippets Groups Projects

fix(smaug): use deviceinfo_depthcharge_compression="lzma"

Merged Denys Vitali requested to merge denysvitali/pmaports:fix/smaug-build into master
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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 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"
  • achill (fossdd) left review comments

    left review comments

  • Denys Vitali resolved all threads

    resolved all threads

  • Denys Vitali added 1 commit

    added 1 commit

    • 64fc38de - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Denys Vitali added 57 commits

    added 57 commits

    • 64fc38de...a28e39b9 - 56 commits from branch postmarketOS:master
    • bb053e09 - device-google-smaug: use deviceinfo_depthcharge_compression="lzma"

    Compare with previous version

  • Robert Eckelmann approved this merge request

    approved this merge request

  • achill (fossdd) resolved all threads

    resolved all threads

  • achill (fossdd) approved this merge request

    approved this merge request

  • achill (fossdd) added 11 commits

    added 11 commits

    • bb053e09...fe59d6eb - 10 commits from branch postmarketOS:master
    • 3c80e22f - device-google-smaug: use deviceinfo_depthcharge_compression="lzma"

    Compare with previous version

  • Oliver Smith approved this merge request

    approved this merge request

  • Thanks!

  • Oliver Smith added 2 commits

    added 2 commits

    • 9c9c6214 - 1 commit from branch postmarketOS:master
    • e0188360 - device-google-smaug: use deviceinfo_depthcharge_compression="lzma"

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading