|
Poopernickel posted:Congrats! Also this is a good demonstration of why selinux is bad nah. If I had labeled the files and binaries normal things like bin_exec_t then the lines changed would be a few hundred long at most. SELinux is good OP. Sorry for the brainworms.
|
# ? Dec 15, 2021 17:27 |
|
|
# ? Apr 27, 2024 06:27 |
|
anyone who thinks selinux is bad shouldn't be administrating a linux system
|
# ? Dec 15, 2021 18:28 |
|
selinux does have strong "black and white part of a made for tv ad" vibes
|
# ? Dec 15, 2021 18:35 |
|
hobbesmaster posted:selinux does have strong "black and white part of a made for tv ad" vibes "there's got to be a better way!!"
|
# ? Dec 15, 2021 18:41 |
|
what about SMACK or AppArmor, anybody tried those out?
|
# ? Dec 15, 2021 18:44 |
|
maybe use all the things at once in an entirely random amalgamation without properly delineated responsibility?
|
# ? Dec 15, 2021 18:48 |
|
Poopernickel posted:"there's got to be a better way!!" looks at "better way" huh, guess not
|
# ? Dec 15, 2021 18:53 |
|
CRIP EATIN BREAD posted:anyone who thinks selinux is bad shouldn't be administrating a linux system
|
# ? Dec 15, 2021 19:06 |
|
CRIP EATIN BREAD posted:anyone who thinks shouldn't be administrating a linux system
|
# ? Dec 15, 2021 20:03 |
|
|
# ? Dec 15, 2021 20:49 |
|
|
# ? Dec 18, 2021 16:31 |
|
selinux is cool and good, in my opinion.
|
# ? Dec 19, 2021 15:07 |
|
sb hermit posted:selinux is cool and good, in my opinion.
|
# ? Dec 19, 2021 16:01 |
|
selinux selinux run run selinux run
|
# ? Dec 20, 2021 03:52 |
|
Progressive JPEG posted:selinux set setenforce setenforce 1
|
# ? Dec 20, 2021 03:57 |
|
I just spent a good 12 hours figuring out how to solve qt submodules not building in Buildroot when parallel package building is enabled. The fix is very easy, and I learned that qmake is very bad and hardcodes paths in .pc, .cmake, and .pri files. The problem: - qt5base-5.15.2 is built in output/per-package/qt5base - qt5svg (for example) requires qt5base - Buildroot calls rsync on output/per-package/qt5base/host -> output/per-package/qt5svg/host - qt5svg now has a bunch of config .pc files that point to output/per-package/qt5base/ instead of output/per-package/qt5svg. Solution: Makefile code:
FlapYoJacks fucked around with this message at 19:09 on Jan 4, 2022 |
# ? Jan 4, 2022 19:05 |
|
is per-package reliable in general yet? also how does it it construct each package's build environment? cp everything, or something more slick?
|
# ? Jan 4, 2022 19:57 |
|
Poopernickel posted:is per-package reliable in general yet? also how does it it construct each package's build environment? cp everything, or something more slick? It's quite reliable! The only issue I have ran into was the above qmake funk which seems to be fixed! Instead of cp, Buildroot calls rsync -a --link-dest= on each dependent package.
|
# ? Jan 4, 2022 20:22 |
|
I have been working with a few friends over the last week to finally get rid of Python2 from Buildroot. We just have a few packages left to migrate over to Python 3! QT5webengine is the largest pain in the rear end though. Embedding Chromium into a package is a gigantic pile of what the gently caress.
|
# ? Jan 6, 2022 04:52 |
|
DoomTrainPhD posted:
I see you have not experienced the glory that is make sdk combined with an external tool chain. Split your toolchain config off into something like sdk_defconfig: code:
then reference the created artifact like this: code:
|
# ? Jan 12, 2022 03:07 |
|
nudgenudgetilt posted:I see you have not experienced the glory that is make sdk combined with an external tool chain. Oh, I meant host package sharing :P
|
# ? Jan 13, 2022 01:46 |
|
DoomTrainPhD posted:I just spent a good 12 hours figuring out how to solve qt submodules not building in Buildroot when parallel package building is enabled. ugh i had to do something like this too when i wrote a layer for qt5 that wasnt available yet quite a few years ago.
|
# ? Jan 13, 2022 04:12 |
|
And now Linux has a Real-Time Linux Analysis (RTLA) tool!
|
# ? Jan 18, 2022 07:53 |
|
where the heck could i get started messing around in embedded linux? it feels neat as hell
|
# ? Jan 18, 2022 08:02 |
|
Lady Radia posted:where the heck could i get started messing around in embedded linux? it feels neat as hell Start with the second half of the first post in the thread -- the bit about buildroot. Look in configs/ and find a board you own or can buy. gently caress around with menuconfig. Find another hobby to kill time while you constantly rebuild your toolchain and/or image.
|
# ? Jan 18, 2022 23:42 |
|
Lady Radia posted:where the heck could i get started messing around in embedded linux? it feels neat as hell Get a Raspberry Pi 4, an sdcard reader, and a Uart cable Then, choose a SDK. There are two major ones: - Yocto - Buildroot Buildroot tends to be much easier (I am biased) and Yocto has more packages, although the non-core packages are of questionable quality and they range from up-to-date to horribly old. Buildroot has an IRC channel at irc.oftc.net #buildroot (Note: Most developers for Buildroot are in UTC+2 time.) Yocto has an IRC channel at irc.libera.chat #yocto Go crazy!
|
# ? Jan 18, 2022 23:45 |
|
DoomTrainPhD posted:Get a Raspberry Pi 4, an sdcard reader, and a Uart cable RPi sits somewhere between obscenely overpriced and unobtainium right now. Get a ROCKPro64 for something that's affordably obtainable and supports a project worth supporting.
|
# ? Jan 19, 2022 00:47 |
|
Buildroot just removed Python2 completely.
|
# ? Feb 11, 2022 20:23 |
|
DoomTrainPhD posted:Buildroot just removed Python2 completely.
|
# ? Feb 11, 2022 21:04 |
|
cool cool, long as they don't go and use that as an excuse to add python3
|
# ? Feb 11, 2022 22:42 |
|
Cybernetic Vermin posted:cool cool, long as they don't go and use that as an excuse to add python3 Python3 is at 3.10.2
|
# ? Feb 11, 2022 23:09 |
|
nice! Congrats to you and the BR team.
|
# ? Feb 12, 2022 16:05 |
|
The best plang for embedded devices is pbusybox-ash Python 3 is the second best one
|
# ? Feb 13, 2022 21:41 |
|
Buildroot 2022.02.1 is out. Python 2 is gone, NodeJS 14 is in, QT5 is now using the KDE repositories and is at the equivalent to 5.15.18. Edit: OpenJDK 11 and 17 are both supported as well.
|
# ? Apr 20, 2022 17:25 |
|
FlapYoJacks posted:Buildroot 2022.02.1 is out. Python 2 is gone, NodeJS 14 is in, QT5 is now using the KDE repositories and is at the equivalent to 5.15.18. Nice! Doomtrain, didn't you do a bunch of the Python2 / NodeJS stuff?
|
# ? Apr 20, 2022 21:21 |
|
Poopernickel posted:Nice! Doomtrain, didn't you do a bunch of the Python2 / NodeJS stuff? yes I did.
|
# ? Apr 21, 2022 01:43 |
|
FlapYoJacks posted:yes I did. Congrats my dude
|
# ? Apr 21, 2022 05:02 |
|
Poopernickel posted:Congrats my dude Thanks! It’s nice to see all the Python 2/3 hacks gone as well.
|
# ? Apr 21, 2022 20:26 |
|
I'm about to submit a version bump for PyQT5 for Buildroot. The current version is 5.7 In other news, Buildroot also just merged in a patch series that allows qt5webengine to build against Python 3! It's unfortunate that 2022.02 was released with the package completely broken (due to Python 2 being ripped out.) Better late than never!
|
# ? May 23, 2022 17:11 |
|
|
# ? Apr 27, 2024 06:27 |
|
PyQT5 is now at 5.15.6.
|
# ? Jun 3, 2022 17:46 |