Skip to content
Snippets Groups Projects

postmarketos-network-gadget: new aport

Open Casey requested to merge caleb/as-initramfs into caleb/abuild-cross
5 unresolved threads

This extremely minimal script reuses the initramfs scripts for configuring the network gadget in the rootfs. This is only useful for cases where the initramfs is skipped or for some reason didn't start the usb gadget.

This is needed for pmbootstrap!2531

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
109 109 c0233d22858a5901db64e1d2fe1f6d39a2e2cfd1b94a10932483f55fed9461e9b8aa2d73b154b9d99a7a8b49ee02abfbddfe917ce0c6d7576601ba2668589c01 00-initramfs-base.files
110 110 d0f35562365756d93066ce45924d17fb347b54095179c3262daa2f073e12743505cd5d9372ad30485915ca754d95a8edba9a74314e7949e0b3cf6978a87d03a5 00-initramfs-extra-base.files
111 111 c497ace6f3d183c48722b9e4fd2b6fed21338d68a9e729c1423d3c3de3eaae7366d8dd75a11f78b7072a6795dcc5380c10d8b390738372ede6dc78074ae87a76 init.sh
112 112 3a0010dbec4f349f7da64d2cf87b0e1665009bf0361fe4d50b10f1f92caf98f35d077159d7d3577ddb730dc60a7bfbb67fb50fc5f4bc27882d59679e7dc865f0 init_functions.sh
  • Clayton Craft
  • Casey
    Casey @kcxt started a thread on the diff
  • 1 [Unit]
    2 Description=Start USB network gadget
    3 Wants=modprobe@libcomposite.service
    4 Requires=usb-gadget.target
    5 After=usb-gadget.target
    • Author Maintainer

      for some reason this target is totally bogus for me. it gets reached too early and the UDC isn't actually available. probably whoever implemented it expected the UDC to be built-in not a module.

    • Please register or sign in to reply
  • 1 [Unit]
    2 Description=OpenSSH Daemon
  • Clayton Craft
    Clayton Craft @craftyguy started a thread on commit e35e8658
  • 1 [Unit]
    2 Description=OpenSSH Daemon
    3
    4 [Service]
    5 ExecStartPre=-ln -s /usr/lib/optee_armtz /lib/optee_armtz
    6 ExecStart=/usr/sbin/tee-supplicant
    7 KillMode=process
    8 Restart=always
    9
    10 [Install]
    11 WantedBy=multi-user.target
  • Clayton Craft
    Clayton Craft @craftyguy started a thread on commit c736e01e
  • 1 [Unit]
    2 Description=Start USB network gadget
    3 Wants=modprobe@libcomposite.service
    4 Requires=usb-gadget.target
    5 After=usb-gadget.target
    6
    7 [Service]
    8 RemainAfterExit=yes
    9 ExecStart=/usr/libexec/start_network_gadget
    10
    11 [Install]
    12 WantedBy=multi-user.target
  • Sorry to bother you @caleb,

    but we've detected that this merge request hasn't seen any recent activity. If you need help, want to discuss your approach with developers, or you are all done and this is waiting for review, you can ping @postmarketOS. You can also ask on matrix in #devel:postmarketos.org or #postmarketos-devel on OFTC.

    Thanks for your contribution.

  • Casey added 141 commits

    added 141 commits

    • c736e01e...16866351 - 133 commits from branch caleb/abuild-cross
    • e9293bdb - systemd/postmarketos-base-systemd: remove notice about systemd being in preview
    • 8a0a532b - modem/q6voiced: support cross compiling
    • cd65cd92 - pbsplash: support cross compiling
    • 4b3b9c13 - postmarketos-initramfs: use cross-native
    • 9af09191 - postmarketos-initramfs: use proper configfs path
    • 335e1f21 - systemd-services: add optee-client
    • 841925cd - main/postmarketos-network-gadget: new aport
    • 569c1d87 - rb3gen2 hax

    Compare with previous version

  • Casey added 2 commits

    added 2 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading