LinuxQuestions.org
Help answer threads with 0 replies.
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 03-22-2018, 01:07 PM   #1
daemonbsd56
LQ Newbie
 
Registered: Jun 2016
Posts: 5

Rep: Reputation: Disabled
Suggestion for LFS / BLFS building. Scripting, Packaging manager, logs, debugging


Hello fellow linuxfromscratch builders.

I am not submitting in this post a problem whatsoever, only a possible suggestion easing the building, logging,
debugging and finally the package management topic which seems to be crucial especially when building blfs.
I was looking for a solution which remains in accordance with the educational vision of LFS.
After building several times LFS you want to speed up the different stages but remain in control of your system.
Even as a novice you are able to see what happens with each chapter of the book and you are able to understand
BASH scripting.
I just wanted to have a fully bash written scripting as well as a package manager written in BASH starting at the toolchain stage, logging every step in order to debug compilation errors.( no c++, no perl , no apt-get, no pacman ...). Just bash, sed, awk like in our LFS/BLS book.

A young fellow did that! Have a look at it, try it. It works !!! Toolchain, 8.2 version and especially the SVN version. For those who are interested, he scripted as well the CLFS. But you remain the master of your linuxfromscratch and believe me it is very educational !

The link is on github.

https://github.com/emmett1
 
Old 03-27-2018, 03:41 AM   #2
emmett1
Member
 
Registered: Nov 2017
Location: Malaysia
Distribution: Venom Linux, LFS
Posts: 49

Rep: Reputation: Disabled
Thanks to my friend here, daemonbsd56, always give feedback and being a tester for my work. Yeah true i've create some script to build LFS system from ground up. And i also have write a simple package manager called 'scratchpkg' using bash to use along with LFS system. The package manager is use start on chapter 6 to track all installed package. This package manager use ports style build script that works almost like Arch's makepkg and CRUX's pkgmk (cuz this both package manager give me big influence to start write my own package manager to suit my need).

links to my LFS build scripts:
https://github.com/emmett1/nyx

link to my package manager:
https://github.com/emmett1/scratchpkg

The ports used with scratchpkg is follow BLFS development book, so the package will get updates regularly. Heres the ports used with 'scratchpkg':
https://github.com/emmett1/ports
 
Old 07-12-2019, 11:47 PM   #3
takaiasteri11
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Rep: Reputation: Disabled
can you show the step by step tutorial for this ? I really need it
 
  


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] Building LFS/BLFS without GCC anak_bawang Linux From Scratch 4 04-18-2016 03:22 PM
Updated lfspkg LFS/BLFS package manager with dependency management Keith Hedger Linux From Scratch 13 04-21-2014 06:13 AM
[SOLVED] Which version of book to use for BLFS??? (LFS-6.7 used for building LFS) rkmv Linux From Scratch 3 02-21-2012 05:32 PM
Building, packaging and installing applications in (Open)Solaris Alexvader Solaris / OpenSolaris 1 06-29-2010 04:43 PM
Packaging manager for Slackware 9.1 ??? Fernando534 Linux - Newbie 4 05-07-2004 02:26 PM

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

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