Thanks, great stuff. I managed to use a livecd, added tar-1.13 and the installpkg script. Then used installpkg --root /mnt/chroot *.txz and chrooted into it.
Now I will rebuild in the chroot. Do you have the packages and slackbuilds you have used and build and can you share them? Compared to LFS, what packages are absolutely needed to have a system that is capable to rebuild itself. I see elflibs, aaa_base, pkgtools, etc, bin, net-tools, perhaps sudo, curl, openssl, ...? |
Read the memos called *-first and *-second I already posted, the minimum is explained to be able to build sfs and remove 'tools'.I noticed you forgot 'which'. By the end of *-second memo, you should be able to remove 'tools',boot in your new sfs and build everything. I hope the answer is clear for you?
|
Nobodino,
Just read over your latest. Looks good. The only questions I had were minor nitpicks. Managed to answer them myself. Keep up the good work. |
Slackware from Scratch and X11
Nobodino,
An apology. . .In the last batch of scripts I inadvertently sent the original sfsinit.sh instead of the debugged one. You seem to have accomodated it, but . . . . :redface: Attached are a corrected sfsinit.sh, an new build5.list, and sfsbuild5.sh. The sh is the beginning of collapsing all my sh's down to one or two. Build5.list is the X system broken out to individual files. Hope I got them all :scratch: |
"Attached are a corrected sfsinit.sh, an new build5.list, and sfsbuild5.sh?"
Sorry, I don't see any attached file. |
Slackware from Scratch and X11
3 Attachment(s)
Huh, wonder what happened?
They were there when I hit the send button. Oh, well, here they are. . . |
5 Attachment(s)
Another update to Slackware From Scratch.
I simplified the process and merged the different steps (sfsbuild0 to sfsbuild4) and there's only one build.list to achieve the build process. There's less tricks: a real kernel-header package, adjust, sfselflibs are treated as package. It works on the last current slackware version 01/04/2016 and LFS version 13/03/2016. |
Thanks for putting this information out there. Really useful stuff. I'm gonna use this to finish my Slackbuild musl build in the near future.
+1 |
@nobodino
don't use # in middle of multiline command as in patches-sfs.sh Code:
@@ -70,7 +70,7 @@ Code:
#!/bin/sh Code:
$ sh tst.sh |
Nobodino,
Please check scripts-sfs.sh.txt. When I run it, I don't get the same results that you show in the README file. Otherwise looks great. I've been slowly working on something like this, but have had limited time for it. Keep up the good work! Worsel |
5 Attachment(s)
Test with these files.
Only 3 scripts remains: initsfs.sh (and not sfsinit.sh), ch6prep.sh and sfsbuild1.sh. All other scripts are secondary scripts called by the 3 ones above. |
Slackware from Scratch and X11
1 Attachment(s)
Nobodino,
I haven't had much time recently for this, but I did review your latest. Looks good. Haven't been able to try it yet. The attachment is something I cooked up while waiting for my car to be repaired. It goes back to LFS and builds a tools directory using only Slackware64 current sources, except for check and dejagnu. |
5 Attachment(s)
Another update to Slackware From Scratch.
It works on the lastet current slackware version 15/04/2016 and LFS version 12/04/2016. The file for the patches has not changed. This time , the process is a bit different, no more sub-scripts. The 3 scripts are built with procedures: one to init, one to chroot, one to build, and that is all. The differences are in the details, so look carefully. |
error in README to build sfs:
time (./sfsbuild1.sh build1.list) # don't forget the build1.list |
Slackware from Scratch and X11
1 Attachment(s)
In your script, sfsbuild1.sh, you question why the glibc tests don't work.
Quote:
again in the same loop. The attached patch contains one solution: (amongst other things. I'm doing a 64 bit build where you are doing 32 bit.) Look at the patch from "LISTFILE =" down. What I did was read the list into an array, then processed the array instead of trying to reuse stdin. Got the idea from the "Advanced Bash Scripting Guide", which I believe is available in french. |
All times are GMT -5. The time now is 07:22 PM. |