LinuxQuestions.org
Visit Jeremy's Blog.
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 11-25-2020, 09:53 AM   #1
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Rep: Reputation: Disabled
Deploying LFS 10.0 systemd to another computer


Hi All,
Built version 10 on my desktop and moved it to a partition on my laptop and ran
kernel make menuconfigand got this error:

kernel/sys.c: In function ‘override_release’:
kernel/sys.c:1245:28: error: expected expression before ‘>>’ token
1245 | v = ((LINUX_VERSION_CODE >> 8) & 0xff) + 60;
| ^~
make[1]: *** [scripts/Makefile.build:281: kernel/sys.o] Error 1
make: *** [Makefile:1756: kernel] Error 2

up to version 8.4, I could do that with a few minor changes with make menuconfig
but for some reason no luck since. Any ideas or help appreciated. Sure saves a lot of work when it works.
Thanks
CK

Last edited by Captian Kangeroo; 11-25-2020 at 10:03 AM.
 
Old 11-26-2020, 05:38 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
In the top source diredtory (/usr/src/linux-version/) I would save the .config by some other filename, and then run
Code:
make mrproper
Which will zap everything, including the .config. But you have that backed up, so replace it, an try again.
 
Old 11-26-2020, 02:22 PM   #3
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Thanks for the help. I will give that a try. That will be great if it works.
 
Old 11-26-2020, 02:45 PM   #4
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
I didn't have any luck with it . Guess I dont understand
that much about the .config file yet. Thanks fer the help anyway.
 
Old 11-27-2020, 05:10 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
With various compiles done, the binaries and other stuff like .o files lie around in the source. This cleans them out. That's all.
 
Old 11-27-2020, 09:48 AM   #6
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Unhappy

Thanks for your time. I have a working system with a few bugs I am dealing with.
I had good success with 8.3,8.4 and 9.0. This version has gave me issues with
upower and gvfs for some reason. Upower daemon doesn't want to start and gvfs
not mounting usb drives . But everything else seems ok. Guess thats why we do this to learn
 
  


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
[SOLVED] LFS 9.0 systemd: Does the LFS partition need to be a GPT or can it be msdos? davecan Linux From Scratch 3 01-08-2020 12:14 PM
LXer: The Story Behind ‘init’ and ‘systemd’: Why ‘init’ Needed to be Replaced with ‘systemd’ in Linu LXer Syndicated Linux News 1 04-07-2017 11:33 PM
LXer: Is systemd as bad as boycott systemd is trying to make it? LXer Syndicated Linux News 0 09-03-2014 05:50 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM

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

All times are GMT -5. The time now is 12:37 PM.

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