eudev destdir install
Has anyone done a destdir (ie, make a package for later install) install of eudev.
I ask because I've been slowly making a new LFS 8.1 system, using destdir for every package in chapter 6 after GCC and ... this one has me stumped. ATM, the *install* phase segfaults. :o How can just copying and chmoding some files segfault? Yeah, something is odd here. This is beyond my intellect and knowledge. Right, so for anyone who has pulled this off? How did you do it please? |
Quote:
$PKG is temporary install dir $SRC is where eudev source is extracted |
Thank you for the reply.
How very strange, my script essentially does the same thing yours does, yet mine does not work. D'oh. Gonna have to do some serious analysis & investigation. I like this: Code:
LD_LIBRARY_PATH=/tools/lib $PKG/sbin/udevadm hwdb --update --root=$PKG |
So I took a lot of time and did the following.
Looked through the makefile. Wow, what a jungle. Made my head spin. Backed up the 8.1 system. Installed eudev exactly as in the book, stopping just before putting in the lfs addition. Then ran a file compare. Used that plus the make file to write my own manual install list of commands. So here is what the install part of my script looks like: Code:
# make directories first Reverted system from backup. Ran my script to build the eudev package. Package built fine. Installed it. Moved on. Installed the rest. Did the fiddly bits to set up for reboot. Rebooted into the fallback OS to set up the boot loader entry. Rebooted ... fixed a stupid problem unrelated to eudev (me, being an idiot, built the sysvinit package and then forgot to install it). Rebooted again ... into my new 8.1 system. Compiled a BLFS package as a test. Rebooted again. Still running fine. Looks like it worked. Whew! :) p.s. If one goes through the source code for eudev, it says it is part of systemd. Wait a minute, thought the whole point of [E]udev was to avoid systemd? |
Wow thats seem complicated. thats really mess :p
I hope everything work fine. In case you got wondering how other package build using DESTDIR method you can check my ports (its package buildscript using with my package manager) here: https://github.com/emmett1/ports But keep in mind its not 100% use command on BLFS book, for some package I modify a bit to suit my need. And i use it with my BSD-style init, so theres no {b,}lfs-bootscripts. And also not all package on BLFS book is there, just few package for my daily use on my laptop and desktop. And one more thing, its based on (B)LFS-SVN book |
Quote:
Quote:
|
yeah i mean 'fun mess' not 'mess mess' if you know what i mean. :)
its so great of you could do that. i'm so lazy to do that :) last time i'm using LFS with sysvinit eudev is one problem i got, some of my hardware not working, on dmesg show something error with udev, but i'm to lazy to find out whats the problem. until i dump all lfs-bootscript and use BSD-style init converted from lfs-bootscripts, all is working fine, eudev is fine, even my system boot faster. :) |
All times are GMT -5. The time now is 09:49 PM. |