LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-26-2019, 12:14 AM   #1
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Updates / Fixes from the books... (9.0 RC1)


I don't know why it hasn't make it into RC0. But, if you've been waiting for them to update to systemd-242, you can with the following changes:

Skip the patch, skip the xsltproc symlink and untarring the man-pages. Just create the documentation yourself when you rebuild systemd in BLFS. In the mean time, add these flags to the configure to prevent it from trying to build or install the docs.

Code:
-Dman=false -Dhtml=false
You'll need to make these symlinks if you plan to run things like reboot as a normal user, after polkit is installed of couse.

Code:
for tool in runlevel reboot shutdown poweroff halt telinit; do
     ln -sfv systemctl /usr/bin/${tool}
done
ln -sfv ../../usr/lib/systemd/systemd /usr/sbin/init
After systemd is installed, but before you remove the symlinks to the util-linux libs in /tools (libblkid,libuuid,libmount), you'll need to run this command to enable the default startup behavior that existed prior to release 242. Previously, meson/autotools did this as part of the package installation.

Code:
systemctl enable getty@tty1.service remote-fs.target \
systemd-timesyncd systemd-resolved systemd-networkd
Note that the BLFS book has been wrong for a while about the command that invokes the rescue.target when upgrading dbus,systemd,etc. The correct command is:

Code:
systemctl isolate rescue.target
If you use start instead of isolate some things my be left running and the console can freeze when attempting to restart the multi-user.target.
 
Old 08-26-2019, 12:37 AM   #2
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Original Poster
Rep: Reputation: 167Reputation: 167
Perl: The default build is slow because the book does no optimization at all. Additionally, some modules are flaky on 64 bits without PIC, so add these to Configure. The march flag is safe for any machine made in the past decade, but you can omit it if you're worried.

Code:
-Dcccdlflags='-fPIC' -Doptimize="-O2 -march=core2"
 
Old 09-07-2019, 08:39 AM   #3
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Original Poster
Rep: Reputation: 167Reputation: 167
The latest upower (0.99.11) segfaults. I've tried removing all previous components, reinstalling it and it still fails. The only thing I can't verify is if this is related to trying to run the package on a 4.19 kernel. I'll know for sure once the ArchLinux packagebuild gets out of testing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Debian 9.1 (Stretch) Brings Security Fixes For Anonymous Connections Over Tor And Drupal 7 CMS & Apache 2 Fixes LXer Syndicated Linux News 0 07-23-2017 04:57 PM
LXer: Wine 1.8 RC1 Arrives with Lots of Fixes for Modern Games LXer Syndicated Linux News 0 11-21-2015 01:05 AM
LXer: Qt 5.2 RC1 Released Along Side Qt Creator 3.0 RC1 LXer Syndicated Linux News 0 11-29-2013 11:11 AM
LXer: Oracle updates Java versioning to allow more security fixes LXer Syndicated Linux News 0 05-16-2013 07:40 AM
LXer: Mozilla updates Firefox 4 Beta 10 with 506 bug fixes LXer Syndicated Linux News 0 01-26-2011 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration