Re: Dump commands
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On 8/12/26 21:41, Bruce Dubbs ([email protected] via lfs-support Mailing List) wrote: > On 8/12/26 2:51 PM, Pocket ([email protected] via lfs-support > Mailing List) wrote: >> >> FYI >> >> When building the book and also dumping the commands >> in some of the scripts the tailing \ is not there >> >> For example.... >> >> From my script >> make BASEDIR="$basedir" DUMPDIR="$dumpdir" NOCHUNKS_OUTPUT="$nochunks" >> book dump- commands nochunks >> >> 027-addinguser >> >> groupadd lfs >> >> useradd -s /bin/bash -g lfs >> -m -k /dev/null lfs >> >> >> passwd lfs >> >> >> chown -v lfs >> $LFS/{usr{,/*},var,etc,tools} >> case $(uname -m) in >> x86_64) chown -v lfs >> $LFS/lib64 ;; >> esac >> >> su - lfs >> >> Not a huge deal as I just use sed to fix it before sourcing the script > > I do not know why you have this issue. Those problematic lines are all > single lines in the book. We really do not use the dump-commands option > in the Makefile, but if you want to propose a change to stylesheets/ > dump-commands.xsl, we'll be glad to look at it. > > -- Bruce > > I don't have the time to correct the dump-commands issues right now as I am working on my scripting system to build LFS and BLFS to a desktop LXQT system, currently for the raspberry pi platform. I am using the btrfs platform to run as it is my primary filesystem I use, system drives and data (RAID 1). The host is a subvolume and the /mnt/lfs is also a subvolume bind mounted into the host subvolume at /mnt/lfs before entergizing the container. I am then able to do snapshots at any stage of the build, from that I can diff the different snapshots to see what has been changed/deleted. I have plans at the blfs part then to be able to take a snapshot of the base lfs "system" then build btrfs-progs and then create a tar archive for btrfs-progs from the diff. aka package management style. Then for all the other packages as well. I am also running the "host" in a systemd-spawned container and running the scripts from there. This has proven most acceptable. I still have a few quirks to over come. Having a few issues with chapter 08 gcc build. I probably have an error in my build scripting to sort out. I am inspired to create lfs/blfs books for raspberry pi, but that will be much later. So far not many changes are needed from the x86_64 book. -- Hindi madali ang maging ako -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page