Hi, newcomer here-- Alexander Kozlov, KTH Stockholm. New to CRUX, I'm building my system above LFS toolchain using CRUX scripts. So far so good except for few small glitches. Hope it's fine to ask silly questions? 1) libcap build fails on my machine because it uses /lib instead of /lib64. I had to change it to /lib*/... for compatibility. Does it build in CRUX? 2) Network interfaces eth0 and wlan0 are renamed to something only 'ip link' knows what. I never saw this under LFS. Can I revert behaviour? Thank you, Alex.
* akozlov@nada.kth.se (akozlov@nada.kth.se) wrote:
1) libcap build fails on my machine because it uses /lib instead of /lib64. I had to change it to /lib*/... for compatibility. Does it build in CRUX?
Works for me, maybe you should paste the relevant parts of your build logs.
2) Network interfaces eth0 and wlan0 are renamed to something only 'ip link' knows what. I never saw this under LFS. Can I revert behaviour?
Our 3.1 release notes include instructions to get back the old behaviour, find these at https://crux.nu/Main/ReleaseNotes3-1 tldr: touch /etc/udev/rules.d/80-net-name-slot.rules or pass the net.ifnames=0 option on the kernel command line. kind regards Thomas Penteker -- You need to install an RTFM interface.
1) libcap build fails on my machine because it uses /lib instead of /lib64. I had to change it to /lib*/... for compatibility. Does it build in CRUX?
Works for me, maybe you should paste the relevant parts of your build logs.
I see, CRUX patches glibc to avoid lib64. I have glibc-2.20 from LFS which installs ld-linux.so to /lib64. In its turn, libcap installs its library to where ld-linux resides. I'll fix my libcap then. (anyone has glibc-2.20-multilib-dirs.patch?)
2) Network interfaces eth0 and wlan0 are renamed [...] tldr: touch /etc/udev/rules.d/80-net-name-slot.rules or pass the net.ifnames=0
Thanks, touch did the job. Sorry for missing release note. Best regards, Alex.
On Tue, Jan 27, 2015 at 08:16:25PM +0100, akozlov@nada.kth.se wrote:
(anyone has glibc-2.20-multilib-dirs.patch?) Yes. I can send it to you after work :)
Great! That would clean the build of gcc, libcap and libffi--all after glibc in the core.
See attachment -- Fredrik Rinnestam
participants (3)
-
akozlov@nada.kth.se
-
Fredrik Rinnestam
-
Thomas Penteker