home.social

#pmbootstrap — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pmbootstrap, aggregated by home.social.

  1. If you're interested in contributing to #postmarketOS but don't know what to do, #pmbootstrap currently has some missing pieces w.r.t. type hinting. In particular adding `disallow_any_generics = true` under `[tool.mypy]` in pyproject.toml and then running `mypy .` reveals many places where types like `list` lack generic type information, e.g. you'd replace `list` with `list[str]` (if it is a list of strings). Feel free to ask if you have any questions about how to do this :)

  2. If you're interested in contributing to #postmarketOS but don't know what to do, #pmbootstrap currently has some missing pieces w.r.t. type hinting. In particular adding `disallow_any_generics = true` under `[tool.mypy]` in pyproject.toml and then running `mypy .` reveals many places where types like `list` lack generic type information, e.g. you'd replace `list` with `list[str]` (if it is a list of strings). Feel free to ask if you have any questions about how to do this :)

  3. #postmarketOS #pmbootstrap users: Do you have any use for the "quiet" feature enabled by the `-q` argument and if so why haven't you complained about it being broken for the last two years? 😅

  4. #postmarketOS #pmbootstrap users: Do you have any use for the "quiet" feature enabled by the `-q` argument and if so why haven't you complained about it being broken for the last two years? 😅

  5. Opened an MR to #postmarketOS #pmbootstrap to support specifying paths to arbitrary local apk files in sideload instead of requiring them to be in the pmbootstrap packages directory. Testing welcome: gitlab.postmarketos.org/postma

  6. Opened an MR to #postmarketOS #pmbootstrap to support specifying paths to arbitrary local apk files in sideload instead of requiring them to be in the pmbootstrap packages directory. Testing welcome: gitlab.postmarketos.org/postma

  7. Tagged #postmarketOS #pmbootstrap 3.10.2 with some important bug fixes, see gitlab.postmarketos.org/postma. An especially big thank you to @craftyguy for figuring out and fixing the file descriptor leak!

  8. Tagged #postmarketOS #pmbootstrap 3.10.2 with some important bug fixes, see gitlab.postmarketos.org/postma. An especially big thank you to @craftyguy for figuring out and fixing the file descriptor leak!

  9. Last night I opened a draft merge request to open up #postmarketOS #pmbootstrap's flashing interface to more use-cases by adding a new "flash" subcommand that takes a path to any arbitrary file and the name of the partition to flash. It works like the existing flashing subcommands, i.e. no need to install and set up any flashing tools on your host—especially useful if your OS does not provide easy access to up-to-date device flashing tools.

    Testing and feedback welcome: gitlab.postmarketos.org/postma

  10. Last night I opened a draft merge request to open up #postmarketOS #pmbootstrap's flashing interface to more use-cases by adding a new "flash" subcommand that takes a path to any arbitrary file and the name of the partition to flash. It works like the existing flashing subcommands, i.e. no need to install and set up any flashing tools on your host—especially useful if your OS does not provide easy access to up-to-date device flashing tools.

    Testing and feedback welcome: gitlab.postmarketos.org/postma

  11. Tagged #postmarketOS #pmbootstrap 3.10.0 last night. Highlights include the install command prompting for user password and "pmOS is already installed on this medium" much earlier so you don't have to babysit it, run0 support if sudo and doas aren't installed, and UEFI boot by default for QEMU.

    Other than that, lots of smaller bug fixes and enhancements as well as technical debt being cleaned up. Big thanks to all the new contributors who showed up to help out with this!

  12. Tagged #postmarketOS #pmbootstrap 3.10.0 last night. Highlights include the install command prompting for user password and "pmOS is already installed on this medium" much earlier so you don't have to babysit it, run0 support if sudo and doas aren't installed, and UEFI boot by default for QEMU.

    Other than that, lots of smaller bug fixes and enhancements as well as technical debt being cleaned up. Big thanks to all the new contributors who showed up to help out with this!

  13. I've been bugged by some of the #postmarketOS #pmbootstrap subcommand names for a while, so I decided to finally write my thoughts down in an issue: gitlab.postmarketos.org/postma

    Any thoughts or suggestions are more than welcome. Hearing others' experiences and thoughts about this would be great.

  14. I've been bugged by some of the #postmarketOS #pmbootstrap subcommand names for a while, so I decided to finally write my thoughts down in an issue: gitlab.postmarketos.org/postma

    Any thoughts or suggestions are more than welcome. Hearing others' experiences and thoughts about this would be great.

  15. Does anyone have an actual use-case for the "pmbootstrap apkindex_parse" subcommand? Asking because apparently it was broken for over a year and no one seemed to complain 😅

    #pmbootstrap #postmarketOS

  16. Does anyone have an actual use-case for the "pmbootstrap apkindex_parse" subcommand? Asking because apparently it was broken for over a year and no one seemed to complain 😅

    #pmbootstrap #postmarketOS

  17. I just opened a merge request to #postmarketOS #pmbootstrap making some changes to the UX of the install subcommand, in particular prompting you about install disk issues much earlier and also informing about that without the --password argument you'll be prompted to manually enter it later.

    Testing and feedback would be much appreciated, especially if you are using less common arguments to the install subcommand as the early mounting potentially could cause issues.

    gitlab.postmarketos.org/postma

  18. I just opened a merge request to #postmarketOS #pmbootstrap making some changes to the UX of the install subcommand, in particular prompting you about install disk issues much earlier and also informing about that without the --password argument you'll be prompted to manually enter it later.

    Testing and feedback would be much appreciated, especially if you are using less common arguments to the install subcommand as the early mounting potentially could cause issues.

    gitlab.postmarketos.org/postma

  19. If you're interested in beginner-friendly tasks for contributing to #postmarketOS in #Python, #pmbootstrap has some clean-ups that need to be done—in particular, migrating the remaining commands from the legacy frontend.py to the new "commands" module.

    See gitlab.postmarketos.org/postma for an example. Essentially, each command should have its own .py file and take a list of arguments instead of the whole "args" namespace.

  20. If you're interested in beginner-friendly tasks for contributing to #postmarketOS in #Python, #pmbootstrap has some clean-ups that need to be done—in particular, migrating the remaining commands from the legacy frontend.py to the new "commands" module.

    See gitlab.postmarketos.org/postma for an example. Essentially, each command should have its own .py file and take a list of arguments instead of the whole "args" namespace.

  21. Had a stab at making #postmarketOS #pmbootstrap able to automatically update the checksum of all packages with unstaged and uncomitted changes. Incredibly satisfying to not have to awkwardly script this or manually copy git output!

    MR is up if you want to try it out yourself: gitlab.postmarketos.org/postma

  22. Had a stab at making #postmarketOS #pmbootstrap able to automatically update the checksum of all packages with unstaged and uncomitted changes. Incredibly satisfying to not have to awkwardly script this or manually copy git output!

    MR is up if you want to try it out yourself: gitlab.postmarketos.org/postma

  23. How to add a custom UI option locally for pmbootstrap for that instance of pmbootstrap only?

    #linux #mobile #postmarketos #pmbootstrap #mobilelinux

  24. How to add a custom UI option locally for pmbootstrap for that instance of pmbootstrap only?

    #linux #mobile #postmarketos #pmbootstrap #mobilelinux

  25. Submitted a merge request today disabling the command timeout by default in #postmarketOS's #pmbootstrap. If you've ever had pmbootstrap die when linking some big binary for a foreign architecture or when flashing postmarketOS to a slow flash drive or SD card, this should no longer happen!

    gitlab.postmarketos.org/postma

  26. Submitted a merge request today disabling the command timeout by default in #postmarketOS's #pmbootstrap. If you've ever had pmbootstrap die when linking some big binary for a foreign architecture or when flashing postmarketOS to a slow flash drive or SD card, this should no longer happen!

    gitlab.postmarketos.org/postma

  27. Is there any way to force #pmbootstrap to build the locally available packages from the local pmaports rather than using the latest available on the mirror ? I wanna build a postmarked OS base image completely based on my local pmaports without any downloaded APKs from the postmarket OS mirrors but only the base packages unmodified in alpine.

    @postmarketOS @linmob

  28. Is there any way to force #pmbootstrap to build the locally available packages from the local pmaports rather than using the latest available on the mirror ? I wanna build a postmarked OS base image completely based on my local pmaports without any downloaded APKs from the postmarket OS mirrors but only the base packages unmodified in alpine.

    @postmarketOS @linmob

  29. Ich hab am WE bei ms3105 übrigens mal mein Alltags-Smartphone aus Sicherheitsgründen zuhause gelassen und mein OnePlus6T mit #postmarketOS via #pmbootstrap mit dem edge-branch bespielt und vollverschlüsselt (FDE).
    + Die Kamera verführt nicht zu Fotos von Demo-Teilnehmer*innen 😅
    + Fractal als Matrix-Client funtioniert gut genug.
    + Tuba als Fediverse-Client für den Aktionsticker auch.
    - Telefon: reicht nicht für EA anrufen.
    - Sprachnachrichten: Mikros und Headphones gehen nicht.
    - keine SignalApp

  30. Fun fact: If any directory leading to the path to your pmaports checkout has the name "archived", any device you select will be considered archived by #pmbootstrap and consequently show the (in)appropriate warning.

  31. Fun fact: If any directory leading to the path to your pmaports checkout has the name "archived", any device you select will be considered archived by #pmbootstrap and consequently show the (in)appropriate warning.

  32. @linuxer Ich empfehle als Desktop auf touch Geräten. Das macht sowohl Touch als auch Tastatur Nutzung sehr produktiv. Mit sollte die Installation kein Problem sein.

  33. @linuxer Ich empfehle #sxmo als Desktop auf touch Geräten. Das macht sowohl Touch als auch Tastatur Nutzung sehr produktiv. Mit #pmbootstrap sollte die Installation kein Problem sein.

  34. pmbootstrap got some big refactoring today to its "apk" handling.

    It will now always run apk on the host (no more slow apk through QEMU!) and should do a slightly better job at caching packages.

    gitlab.postmarketos.org/postma

    This should make some things like building packages go faster!

    If you're already running pmbootstrap 3.0 alpha you can "git pull" and give it a whirl.

  35. pmbootstrap got some big refactoring today to its "apk" handling.

    It will now always run apk on the host (no more slow apk through QEMU!) and should do a slightly better job at caching packages.

    gitlab.postmarketos.org/postma

    This should make some things like building packages go faster!

    If you're already running pmbootstrap 3.0 alpha you can "git pull" and give it a whirl.

    #PostmarketOS #tooling #pmbootstrap

  36. did some experimenting incorporating mkosi-sandbox (the standalone unshare utility written to remove mkosi's dependency on bubblewrap) into #pmbootstrap, it was surprisingly doable to get a working poc despite pmbootstrap really NOT being architected to support this lol.

    i cannot convey the catharsis of being able to run pmbootstrap chroot and NOT have it pollute the global mount namespace or ask for my sudo password. I hacked up the iimage building stuff to kiiinda work but i think it's all gonna have to go

    i also gotta say: wow mkosi-sandbox is truly a work of art, who knew Python was a low level language xD

    you can see all the super ugly code at

    gitlab.postmarketos.org/postma

    #LinuxMobile #postmarketOS #systemd

  37. did some experimenting incorporating mkosi-sandbox (the standalone unshare utility written to remove mkosi's dependency on bubblewrap) into #pmbootstrap, it was surprisingly doable to get a working poc despite pmbootstrap really NOT being architected to support this lol.

    i cannot convey the catharsis of being able to run pmbootstrap chroot and NOT have it pollute the global mount namespace or ask for my sudo password. I hacked up the iimage building stuff to kiiinda work but i think it's all gonna have to go

    i also gotta say: wow mkosi-sandbox is truly a work of art, who knew Python was a low level language xD

    you can see all the super ugly code at

    gitlab.postmarketos.org/postma

    #LinuxMobile #postmarketOS #systemd

  38. poor brain. now that i am stuck for the moment in terms of debugging ubuntu and debian, I turned back to porting the device to #Postmarketos

    this stuff is like drinking from a firehose. constant hyperfocus and breaks seem obsolete.

    well, I'm meeting non tech friends later so thats gonna be my break then.

    in the meantime #pmbootstrap fails to generate checksums for my apkbuild... probably because I am missing something with custom kernel...

  39. poor brain. now that i am stuck for the moment in terms of debugging ubuntu and debian, I turned back to porting the device to #Postmarketos

    this stuff is like drinking from a firehose. constant hyperfocus and breaks seem obsolete.

    well, I'm meeting non tech friends later so thats gonna be my break then.

    in the meantime #pmbootstrap fails to generate checksums for my apkbuild... probably because I am missing something with custom kernel...

  40. If you use #pmbootstrap when working with #postmarketOS, I'd welcome any testing results for migrating your work directory with gitlab.postmarketos.org/postma. Just checkout the branch and try to run $ pmbootstrap init and it'll prompt you for whether to migrate. Even successful test results are nice to see as they build confidence in that it works properly!

  41. If you use #pmbootstrap when working with #postmarketOS, I'd welcome any testing results for migrating your work directory with gitlab.postmarketos.org/postma. Just checkout the branch and try to run $ pmbootstrap init and it'll prompt you for whether to migrate. Even successful test results are nice to see as they build confidence in that it works properly!

  42. @pabloyoyoista that's great to hear. Curious which type of work has been done since 23.12 to improve the performance. Something seems to have changed from the initial 24.06 release or #pmbootstrap that caused memory usage to almost double, but fortunately the CPU load and reboot time improved in that same change. Appreciate you sharing this info. About initramfs. :)

  43. @pabloyoyoista that's great to hear. Curious which type of work has been done since 23.12 to improve the performance. Something seems to have changed from the initial 24.06 release or #pmbootstrap that caused memory usage to almost double, but fortunately the CPU load and reboot time improved in that same change. Appreciate you sharing this info. About initramfs. :)

  44. After the #librem5 with #gnome and the #oneplus6t with #gnomemobile , i install #postmarketos on a #samsung galaxy grand prime with #plasmamobile on emmc. The device has 8Go and i have 2.5go free after installation. Some little glitch screen but it is ok for use.
    Now i need to found a nice tablet to tris it again
    Thank for the hard work 👍
    #linux #linuxmobile #pmbootstrap

  45. My first #btrfs patches to #pmbootstrap were accepted 🙌 (ty @ollieparanoid!)

    Now btrfs has a basic flat subvol layout by default in #PostmarketOS, and when #sourcehut comes online again, I'll send a new patch with more comprehensive subvolume handling 🌠

    Mirror of my changes here, if someone'd like to try it out in the meantime :)
    gitlab.com/papiris/pmbootstrap

  46. Today has started, which will feature 4 related talks. In 15 minutes ollieparanoid will start talking about , our swiss army knife to postmarketOS development.

    Head on over to alpinelinux.org/conf/ and come watch!

  47. Today #alpineconf has started, which will feature 4 #postmarketOS related talks. In 15 minutes ollieparanoid will start talking about #pmbootstrap, our swiss army knife to postmarketOS development.

    Head on over to alpinelinux.org/conf/ and come watch!