home.social

#toybox — Public Fediverse posts

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

  1. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  2. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  3. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  4. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  5. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  6. #Toybox #Soldiers #TwoDollarsEndlessFun

    We 100% made dad fork over the 2 dollars. (In those days you could send cash through the US mail.)
    We had a lot of fun, as I recall. But the battleships were the Lego of their day if you stepped on one with bare feet.
    I'm sure there are quite a few soldiers still in the dirt on my dads farm.

  7. #Toybox #Soldiers #TwoDollarsEndlessFun

    We 100% made dad fork over the 2 dollars. (In those days you could send cash through the US mail.)
    We had a lot of fun, as I recall. But the battleships were the Lego of their day if you stepped on one with bare feet.
    I'm sure there are quite a few soldiers still in the dirt on my dads farm.

  8. 🚀 Mein erstes Paket ist live! 🛰️
    Ich habe gerade toybox-calc veröffentlicht – ein kleines CLI-Tool für Funkamateure, um die optimale Länge des Strahlers für die Comet HFJ-350M (Toy Box) Antenne zu berechnen.

    Jetzt verfügbar auf:
    📦 PyPI: pip install toybox-calc
    🏔️ AUR (Arch Linux): pikaur -S python-toybox-calc
    Inklusive i18n Support (DE/EN/JA) und ANSI-Farben fürs Terminal. Vy 73 de DO3EET! 📻

    #HamRadio #Amateurfunk #Python #ArchLinux #AUR #PyPI #OpenSource #HFJ350M #ToyBox #POTA #SOTA #Linux

  9. 🔧✨ Behold, the magical Toybox! 🎩✨ Now you can bumble through #Linux with a single #command line tool that does everything and nothing at all. Because who needs focus when you have a Swiss Army knife made of spaghetti code? 🍝🔧
    github.com/landley/toybox #Toybox #SpaghettiCode #SwissArmyKnife #TechHumor #HackerNews #ngated

  10. 🔧✨ Behold, the magical Toybox! 🎩✨ Now you can bumble through #Linux with a single #command line tool that does everything and nothing at all. Because who needs focus when you have a Swiss Army knife made of spaghetti code? 🍝🔧
    github.com/landley/toybox #Toybox #SpaghettiCode #SwissArmyKnife #TechHumor #HackerNews #ngated

  11. The #Kimsuky divergences in #ToyBox append a new command category in toys/android/ with the following options:

    - getenforce / setenforce -> Query and modify SELinux enforcement
    - restorecon / runcon -> Reset or run processes under SELinux contexts
    - sendevent -> Generate low-level input events (touch/keys)
    - log, logwrapper -> Interface with Android’s logging system
    - load_policy -> Load SELinux policies

    Also include GN/Ninja integration (Google’s build system) for AOSP devices.

    My guess is most likely used in their Android malware development

  12. make your filesystem eventful using inotify cmds,
    the REACT for filesystems ❤

    ```
    $ inotifyd ./myscript /dir /dir/sub/dir &

    $ touch /dir/foo.json
    myscript: w /dir/foo.json

    $ touch /dir/sub/dir/bar.json
    myscript: w /dir/sub/dir/bar.json
    ```

    #hack #eventdriven #busybox #toybox

  13. @target

    @cstross isn't even joking, I think.

    Both BusyBox and ToyBox actually do have an init program, a getty program, and a login program.

    BusyBox also has the Almquist shell. ToyBox has a Landley shell. BusyBox even has runit.

    It is possible to have a system where even if you are doing various things in a shell you're just invoking the same program image over and over, using all of the same code that is there in process #1.

    #BusyBox #ToyBox #runit

  14. @target

    @cstross isn't even joking, I think.

    Both BusyBox and ToyBox actually do have an init program, a getty program, and a login program.

    BusyBox also has the Almquist shell. ToyBox has a Landley shell. BusyBox even has runit.

    It is possible to have a system where even if you are doing various things in a shell you're just invoking the same program image over and over, using all of the same code that is there in process #1.

    #BusyBox #ToyBox #runit

  15. Bill was really focused on the software before anybody else had a clue that it was really the software (c) Steve Jobs.

    It is still. Always will be.

    P.S.: frankly speaking I’m tempted to try this thing out 🙌🏻. Kids’ toys could be a whole different story with this in most households 🚂🚤🚗🚜🚎🥏

    youtu.be/V3Avp-xLHig?si=ivorUN

    #3dprinting #usability #toybox

  16. @mshelton EXATLY THAT!

    This really reminds me of @landley's talk re:#toybox and why #Android devices are from the factory locked down, because otherwise we'd not only have exhausted #IPv4 address space faster than predicted but also created the biggest #bot-able number of mobile devices that due to being distributed among legitimate networks and traffic to the point they are basically indistinguishable from legitimate requests, thus generating the perfect #DDoS and #malware-executing cluster...

    youtube.com/watch?v=SGmtP5Lg_t

  17. @mshelton EXATLY THAT!

    This really reminds me of @landley's talk re:#toybox and why #Android devices are from the factory locked down, because otherwise we'd not only have exhausted #IPv4 address space faster than predicted but also created the biggest #bot-able number of mobile devices that due to being distributed among legitimate networks and traffic to the point they are basically indistinguishable from legitimate requests, thus generating the perfect #DDoS and #malware-executing cluster...

    youtube.com/watch?v=SGmtP5Lg_t

  18. @thelinuxcast @fuchsiii yes, a #0day affecting all versions since 1993.

    Because #GlibC is a mess that constantly bricks stuff for no good reason - just like the #GNUtils

    There's a reason why OS/1337 uses @musl and @landley 's #toybox.

    Because #KISS principle rules!

    #OS1337 #Linux

  19. @thelinuxcast @fuchsiii yes, a #0day affecting all versions since 1993.

    Because #GlibC is a mess that constantly bricks stuff for no good reason - just like the #GNUtils

    There's a reason why OS/1337 uses @musl and @landley 's #toybox.

    Because #KISS principle rules!

    #OS1337 #Linux

  20. @hexaheximal case in point:
    #Copyleft doesn't work in terms of getting #contributions or actual improvements.

    One can not really force people to do intellectual labour nor get them to share it!

    But don't take my word for it, because @landley has been there and done that as the fmr. maintainer of #BusyBox and nowadays maintains a competing project (#toybox) licensed under #0BSD...

    ---

    TBH I'm not against the #GPL, not even #GPLv3 because when you want to commit #AssetDenial it does that fine and I use it for that...

    But sadly #FLOSS doesn't exist in a vacuum and as much as I wished #CCSS to never have existed in the first place, it sadly does and worse people often depend on that shite...

    ---

    So I do aim to #DoBetter instead...

  21. @hexaheximal case in point:
    #Copyleft doesn't work in terms of getting #contributions or actual improvements.

    One can not really force people to do intellectual labour nor get them to share it!

    But don't take my word for it, because @landley has been there and done that as the fmr. maintainer of #BusyBox and nowadays maintains a competing project (#toybox) licensed under #0BSD...

    ---

    TBH I'm not against the #GPL, not even #GPLv3 because wgen you want to commit #AssetDenial it does that fine and I use it for that...

    But sadly #FLOSS doesn't exist in a vacuum and as much as I wished #CCSS to never have existed in the first place, it sadly does and worse people often depend on that shite...

    ---

    So I do aim to #DoBetter instead...

  22. Tangents aside, people are free to create forks and even branches that include #SystemD or use #BusyBox:

    That is the #Freedom of #FLOSS and in fact for anything outside the 1440kB target we'd accept #SystemD since it works and solves a lot of issues...
    youtube.com/watch?v=o_AIw9bGog

    Granted OS/1337 isn't a #demo first but rather tries to take the concept of #tomsrtbt and @w84death 's #Floppinux and tries to make it something that is useable and can be extended to arbitrary complexity if one desires to...

    It's about making a tiny #Linux distro that is #reproduceable and #auditable...

    It won't replace @ubuntu or any other big distro, likely it won't even replace #mkroot from #toybox but it should be a clean and level foundation for small #IoT and #EmbeddedSystems projects and products...

    Something that is easy to build and customize and port to other platforms...

    And we're open for contributions:
    github.com/OS-1337/OS1337/blob

  23. Tangents aside, people are free to create forks and even branches that include #SystemD or use #BusyBox:

    That is the #Freedom of #FLOSS and in fact for anything outside the 1440kB target we'd accept #SystemD since it works and solves a lot of issues...
    youtube.com/watch?v=o_AIw9bGog

    Granted OS/1337 isn't a #demo first but rather tries to take the concept of #tomsrtbt and @w84death 's #Floppinux and tries to make it something that is useable and can be extended to arbitrary complexity if one desires to...

    It's about making a tiny #Linux distro that is #reproduceable and #auditable...

    It won't replace @ubuntu or any other big distro, likely it won't even replace #mkroot from #toybox but it should be a clean and level foundation for small #IoT and #EmbeddedSystems projects and products...

    Something that is easy to build and customize and port to other platforms...

    And we're open for contributions:
    github.com/OS-1337/OS1337/blob

  24. Someone asked "Why don't you use BusyBox?

    Let me answer this simply...

    1. #BusyBox's #Licensing page kinda makes them look #toxic...
    busybox.net/license.html

    And @landley went into great detail on why the whole "enforcement" backfired very hard:
    youtube.com/watch?v=MkJkyMuBm3

    2. #toybox on the other hand is very much a drop-in replacement and it's #0BSD licensed, so much less headaches...
    landley.net/toybox/license.htm

    So it was chosen for OS/1337:
    github.com/OS-1337/OS1337/blob

    3. We use unmodified source code as of today and thus can just link to the original sources and attribute them properly:
    github.com/OS-1337/OS1337/blob

    #NotLegalAdvice but AFAICS this is sufficient for compliance.

    I

  25. Someone asked "Why don't you use BusyBox?

    Let me answer this simply...

    1. #BusyBox's #Licensing page kinda makes them look #toxic...
    busybox.net/license.html

    And @landley went into great detail on why the whole "enforcement" backfired very hard:
    youtube.com/watch?v=MkJkyMuBm3

    2. #toybox on the other hand is very much a drop-in replacement and it's #0BSD licensed, so much less headaches...
    landley.net/toybox/license.htm

    So it was chosen for OS/1337:
    github.com/OS-1337/OS1337/blob

    3. We use unmodified source code as of today and thus can just link to the original sources and attribute them properly:
    github.com/OS-1337/OS1337/blob

    #NotLegalAdvice but AFAICS this is sufficient for compliance.

    I

  26. @cadey There's a reason why OS/1337 uses @musl and @landley 's #toybox:

    Because the #GNU #bloatware is just horrendous!

    For example: 833 lines of C are used for cat...
    youtube.com/watch?v=MkJkyMuBm3

  27. @cadey There's a reason why OS/1337 uses @musl and @landley 's #toybox:

    Because the #GNU #bloatware is just horrendous!

    For example: 833 lines of C are used for cat...
    youtube.com/watch?v=MkJkyMuBm3

  28. @swelljoe @landley yeah... Not cool...

    I wounder if #fish does the same, tho at this point it might...

    I really wish for #toysh in #toybox to become a fully functional and good replacement for #bash.

    So far it seems to work fine but I didn't deliberately tried to find it's seams and edges or break it...

  29. @landley @DavittoKun *nodds in agreement*

    I don't expect anyone maintaining, designing or building #CriticalInfrastructure to ever reach out to me or even use OS/1337, but if those developing i.e. medical IT take a look at this and decide to use a clean and minimalist #Linux, #FreeBSD, #OpenBSD or even #illumos - based distro with #toybox or another compact #Userland instead of some botched "embedded" Version of Windows, then already that's the kind of change I want to see...

    I mean it would be cool if they used and contributed to #OS1337 but if I wanted to force them then I should've made some commercial distro akin to #WindRiverLinux or #VxWorks instead, and I don't...

  30. @landley @DavittoKun *nodds in agreement*

    I don't expect anyone maintaining, designing or building #CriticalInfrastructure to ever reach out to me or even use OS/1337, but if those developing i.e. medical IT take a look at this and decide to use a clean and minimalist #Linux, #FreeBSD, #OpenBSD or even #illumos - based distro with #toybox or another compact #Userland instead of some botched "embedded" Version of Windows, then already that's the kind of change I want to see...

    I mean it would be cool if they used and contributed to #OS1337 but if I wanted to force them then I should've made some commercial distro akin to #WindRiverLinux or #VxWorks instead, and I don't...

  31. @DavittoKun Actually, I've not come that long and have been quite #lazy and #halfassing things way too much.

    I just took @w84death 's #Floppinux Manual, a current #Linux Kernel, yeeted #BusyBox for @landley 's #toybox and hammered enough keys with my monkey brain to get a console working.

    @SweetAIBelle them beautified and streamlined the list of scripts I used to build it and provided ample of feedback and suggestions.

    In fact, I think everyone should read that Floppinux manual which is also a nice writeup to get started at the surface of it.
    archive.org/details/floppinux-

    It's an ongoing process and ideally it'll get modest success for those that look for #OpenBSD-alike security but with the ease and simplicity of "how do I get this running on my [weird] box?" since basically every SoC today can boot Linux more or less straightforward to some degree.

    I do OFC value and welcome feedback and support on that matter, as I can't even remotely claim to know everything without ridiculing myself with such a baseless statement.
    github.com/OS-1337

    Does it seem redundant to #mkroot?
    Yeah, but that's expected since mkroot's goal is to showcase toybox's self-reproduceability and using it's built-in gzip instead of xz is just one of the many concessions this will inevitably demand...

    Do I want OS/1337 to be 'self-hosting'?
    Yes, but it's not the prime goal and thus currently out of focus for testing...

    A lot of things will develop over time...

  32. @DavittoKun Actually, I've not come that long and have been quite #lazy and #halfassing things way too much.

    I just took @w84death 's #Floppinux Manual, a current #Linux Kernel, yeeted #BusyBox for @landley 's #toybox and hammered enough keys with my monkey brain to get a console working.

    @SweetAIBelle them beautified and streamlined the list of scripts I used to build it and provided ample of feedback and suggestions.

    In fact, I think everyone should read that Floppinux manual which is also a nice writeup to get started at the surface of it.
    archive.org/details/floppinux-

    It's an ongoing process and ideally it'll get modest success where one looks for #OpenBSD-alike security but with the ease and simplicity of "how do I get this running on my [weird] box?" since basically every SoC today can boot Linux more or less straightforward.

    I do OFC value and welcome feedback and support on that matter, as I can't even remotely claim to know everything without ridiculing myself with such a baseless statement.
    github.com/OS-1337

    Does it seem redundant to #mkroot?
    Yeah, but that's expected since mkroot's goal is to showcase toybox's self-reproduceability and using it's built-in gzip instead of xz is just one of the many concessions this will inevitably demand...

    Do I want OS/1337 to be 'self-hosting'?
    Yes, but it's not the prime goal and thus currently out of focus for testing...

    A lot of things will develop over time...

  33. @geraldew @RTP @linux @torvalds

    Being a "universal donor license" would be a reason.

    But don't take my word for it, ask @landley on why he left #BusyBox and started #toybox under #0BSD.

    TLDW: #Copyleft backfired and made BusyBox notoriously hostile to vendors as well as kinda hurt everyone.
    youtube.com/watch?v=MkJkyMuBm3

    The reason why no "applianced" Console runs #Linux is the #GPL, because #PlayStation since the #PS2 and #Nintendo since the #WiiU run #FreeBSD as #Copyleft would be incompatible with their #DRM and subsequent #NDA's as well as contractual secrecy per their vendors & subcontractors...

    #Valve and the #SteamDeck aren't compareable to i.e. the #NintendoSwitch because they see it as a tool to increase revenue per #Steam User, not as a means to increase their market share from de-facto to de-jure #monopoly whilst facing stiff competition like #XboxGamePass on the #PC and #Chromebooks as well as #ChromeOS flex running #Android #Games!

  34. @geraldew @RTP @linux @torvalds

    Being a "universal donor license" would be a reason.

    But don't take my word for it, ask @landley on why he left #BusyBox and started #toybox under #0BSD.

    TLDW: #Copyleft backfired and made BusyBox notoriously hostile to vendors...
    youtube.com/watch?v=MkJkyMuBm3

  35. @DavittoKun That's why I want to do a #toybox + #musl / #Linux distro.

    Why reinvent the cabin scooter when @landley, @torvalds and contributors already offer you basically the whole range of parts to build the OS equivalent of a "#PersonalLightVehicle"...

    Espechally since I got neither the skills nor time to reinvent wheels that ain't square or drive faster than 20km/h... ^^
    youtube.com/watch?v=hKyNqc1p2i (not me btw!)

  36. @DavittoKun @landley so what?

    #Compression is also a cheap trick to make a #toybox + #musl / #Linux fit onto a 1440kB 3,5" FDD...

    IT WORKS!

  37. Aside from "rebuilding under itself" which is on the roadmap, OS/1337 is close to #mkroot.
    youtube.com/watch?v=MkJkyMuBm3 (video via @linuxfoundation feat. @landley )

    Certainly not a drop-in replacement, but that's not the primary goal of it either.
    It would be nice, but it's not a strict necessity as of now...

    It's also not as cringe as using a botched Debian 8.2 shoved though OpenADK and left to marinade or rather rot for almost a decade on devices being deployed to customers...
    viprinet.com/en/support/downlo

    As of now, just running build.sh does build a working 1440kB floppy image that boots.
    github.com/OS-1337/OS1337/blob

    Tho there are still some issues I'm confident this will get some releaseable alpha version this year if not the first half of it...
    github.com/orgs/OS-1337/projec

    Contributions to #OS1337 are welcome as well as feedback: Tho be mindful this is pre-alpha software so it may have a lot of rough and sharp edges that can hurt.
    github.com/OS-1337/OS1337/issu

    If one can test on physical hardware with ISA and/or PC/104 bus that would really help.
    Ideally use something like a Gotek #SFR1M44 test with if your System's #BIOS doesn't support USB-#Floppy emulation via an image file like some #Vortex86-based SBCs.
    gotekemulator.com/P_view.asp?p
    (Doesn't require #Flash Floppy tho it's recommended!
    github.com/keirf/flashfloppy)

    As of now, OS/1337 does boot, but has a lot of issues...

    But we're confident to get them addressed.

    #Linux #FLOSS #FOSS #OSS #Development #toybox #distro

  38. Aside from "rebuilding under itself" which is on the roadmap, OS/1337 is close to #mkroot.
    youtube.com/watch?v=MkJkyMuBm3

    Certainly not a drop-in replacement, but that's not the primary goal of it either.
    It would be nice, but it's not a strict necessity as of now...

    But way less cringe than using a botched Debian 8.2 shoved though OpenADK and left to marinade or rather rot for almost a decade on devices being deployed to customers...
    viprinet.com/en/support/downlo

    As of now, just running build.sh does build a working 1440kB floppy image that boots.
    github.com/OS-1337/OS1337/blob

    Tho there are still some issues I'm confident this will get some releaseable alpha version this year if not the first half of it...
    github.com/orgs/OS-1337/projec

    Contributions to #OS1337 are welcome as well as feedback: Tho be mindful this is pre-alpha software so it may have a lot of rough and sharp edges that can hurt.
    github.com/OS-1337/OS1337/issu

    If one can test on physical hardware with ISA and/or PC/104 bus that would really help.
    Ideally use something like a Gotek #SFR1M44 test with if your System.UEFI doesn't suppirt USB & floppy emulation via.image file.
    gotekemulator.com/P_view.asp?p
    (Doesn't require #Flash Floppy tho it's recommended!
    github.com/keirf/flashfloppy

    As of now, OS/1337 does boot, but has a lot of issues...

    #Linux #FLOSS #FOSS #OSS #Development #toybox #distro

  39. @lunareclipse Yeah... #Xorg is bad and #Wayland is a necessity - kinda like #SysVinit and #ALSA are bad and #SystemD + #PipeWire are necessary "evils"...

    Also #Android can at least be salvaged just like it's underyling #toybox + #musl / #Linux basis...
    youtube.com/watch?v=SGmtP5Lg_t
    landley.net/toybox/

  40. @BrodieOnLinux @fuchsiii OFC not - and not because they don't want to [tho I'd also nope ransomware groups' demands] but also because #nvidia can't legally do that in many cases, as they too are #licensees of #patents and are bound to #NDA's.

    So #GPLv3 and #AGPLv3 are impossible to comply with and even #GPLv2 would be hard to.

    Kinda like the shitshow #BusyBox did (gojng GPLv3 and sueing the crap out of license violators), so @landley left that project and started #toybox from the ground up.