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 01-08-2014, 11:56 AM   #1
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Rep: Reputation: 85
Which packages from LFS can be upgraded?


Feeling bored, I added LFS-svn to my script that searches for updates. Now when I run it I get this:
Code:
$ whatsnew  
BLFS:  
  
Xorg apps:  
  
Xorg libs:  
  
Xorg fonts:  
  
Xorg drivers: 
  
Python modules:  
  
Perl modules: 
  
LFS-svn:  
man-pages    3.53    [lfs-svn: 3.55] 
file    5.14    [lfs-svn: 5.16] 
binutils    2.23.2    [lfs-svn: 2.24] 
util-linux    2.23.2    [lfs-svn: 2.24] 
procps-ng    3.3.8    [lfs-svn: 3.3.9] 
e2fsprogs    1.42.8    [lfs-svn: 1.42.9] 
coreutils    8.21    [lfs-svn: 8.22] 
m4    1.4.16    [lfs-svn: 1.4.17] 
bison    3.0    [lfs-svn: 3.0.2] 
gdbm    1.10    [lfs-svn: 1.11] 
automake    1.14    [lfs-svn: 1.14.1] 
gettext    0.18.3    [lfs-svn: 0.18.3.1] 
iproute2    3.10.0    [lfs-svn: 3.12.0] 
kbd    1.15.5    [lfs-svn: 2.0.1] 
kmod    14    [lfs-svn: 16] 
libpipeline    1.2.4    [lfs-svn: 1.2.6] 
make    3.82    [lfs-svn: 4.0] 
texinfo    5.1    [lfs-svn: 5.2]
So now the question is which packages are safe to update?
And which packages need to be built in a new toolchain to be updated?

I understand linux api headers and glibc are the most critical, and I wouldn't even think about updating them before next release. (Linux api headers is not shown by my script, and there is no update to glibc now.)

Binutils seems to be very critical, because it gets build twice in chapter 5. Does it also mean it can't be updated without a new tool chain?

I know make 4 can cause problems, and that many packages needs to be patched to build with it, so I won't touch it.

I know that if a package get a big version bump, which changes the number of the library that other packages links against, all packages that link against it need to be recompiled. I understand it could be impossible, if programs that are needed during the build and install stops working, and therefore they also need to be updated in a new tool chain. Then I only need to to find out which packages that is...

But I guess there are some packages that can be updated... I have already updated grep, tar and gmp.

Ideas someone? "My fingers are itching..." (If one can say like that in english...)
 
Old 01-08-2014, 09:05 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You can update about everything but glibc and the glibc kernel headers usually without too many issues.

Updating glibc and the glibc-kernel-headers is about the only thing that would constitute a complete rebuild. Otherwise, feel free.
 
2 members found this post helpful.
Old 01-09-2014, 01:12 AM   #3
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Original Poster
Rep: Reputation: 85
Great!
 
Old 01-09-2014, 03:24 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I would recommend if you do update anything that you switch back to a console login and work outside of X.
 
Old 01-09-2014, 09:49 AM   #5
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Original Poster
Rep: Reputation: 85
I'll build the packages in a chroot which only has the core packages installed, to avoid crazy dependencies. When I feel confident about the newly built package, I'll install it on the running system with pacman. That is usually no problem in X.
 
Old 01-09-2014, 04:14 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I've never used a package manager on LFS yet...

I have started building scripts to self-manage things such as how FreeBSD does with ports.

My current goal is to script all package in BLFS and create a Master Build script for LFS (similar to FreeBSD's make world to rebuild the source core), and then clean the BLFS sources after configuration only.
 
  


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
Packages not upgraded? skoinga Debian 1 10-24-2011 05:04 PM
Gslapt/slapt-get upgraded packages saf Slackware 4 05-31-2006 12:34 AM
Keeping APT packages from being upgraded pilot1 Linux - General 0 04-12-2004 09:18 AM
Problems with upgraded XFree86 packages pmehta1613 Linux - Software 1 11-18-2003 08:51 AM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 03:15 PM

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

All times are GMT -5. The time now is 06:18 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