On Tue, 10 Nov 2020 20:41:03 -0600
DJ Lucas via blfs-support <blfs-support@lists.linuxfromscratch.org>
wrote:

> On 11/10/2020 8:37 PM, DJ Lucas via blfs-support wrote:
> > On 11/10/2020 8:17 PM, DJ Lucas via blfs-support wrote:  
> >>
> >> I'll get these into git in just a few.
> >>  
> > Scott, if you'd be willing to grab a snapshot and test in your 
> > environment, that'd be great. You can download from here.
> >
> > https://github.com/djlucas/LSB-Tools/archive/master.tar.gz
> >
> >  
> Shoot, I think you can just install from there (shouldn't be any 
> issues), but proper is:
> 
> python3 setup.py sdist
> 
> Then install from the tarball in the newly created dist/
> sub-directory (this is how the release tarball is generated for
> setuptools projects).
> 
> --DJ
> 

Here is the result from your latest work.

I pulled it from github and set a tag 20201111
then pushed to https://github.com/ScottAndrews1873/LSB-Tools so I
created a tarball that I can more easily use in rpm.

Built and installed it into my overlayfs chroot test environment.
It also has my patch to run swap at the correct time, makes swap
actually work when using a swap file rather than using a swap partition.

Mine the line wrap

Looks like a winner......

sudo chroot /home/scott/Home-Brew/BUILD/BuildSystem/Installation

mount -t overlay overlay -o
lowerdir=Overlay-Host,upperdir=Overlay-WIP,workdir=Overlay-Work
Overlay-Chroot 

mount --bind /dev Overlay-Chroot/dev mount -t devpts devpts
Overlay-Chroot/dev/pts -o  gid=5,mode=620 mount -t proc proc

Overlay-Chroot/proc mount -t sysfs sysfs Overlay-Chroot/sys mount -t
tmpfs tmpfs Overlay-Chroot/run 

sudo /usr/sbin/chroot Overlay-Chroot /usr/bin/env -i HOME=$HOME
TERM=$TERM PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin PS1='(Overlay)
\u:\w\$ ' /bin/bash --noprofile --norc --login +h

cd /etc
rm -rf /etc/rc.d
install -vdm
755 /etc/rc.d/{rc0.d,rc1.d,rc2.d,rc3.d,rc4.d,rc5.d,rc6.d,rcS.d}

The following get past the Error! Unable to locate Requried-Start
dependency udev for script: checkfs as the script are not run in the
proper order

for x in "1 2 3 4 5"; do 
        for i in *;do install_initd ${i};done
done

bash-5.0# ls -lR /etc/rc.d
/etc/rc.d:
total 32
drwxr-xr-x 2 root root 4096 Nov 11 18:05 rc0.d
drwxr-xr-x 2 root root 4096 Nov 11 18:05 rc1.d
drwxr-xr-x 2 root root 4096 Nov 11 18:05 rc2.d
drwxr-xr-x 2 root root 4096 Nov 11 18:05 rc3.d
drwxr-xr-x 2 root root 4096 Nov 11 18:05 rc4.d
drwxr-xr-x 2 root root 4096 Nov 11 18:05 rc5.d
drwxr-xr-x 2 root root 4096 Nov 11 18:05 rc6.d
drwxr-xr-x 2 root root 4096 Nov 11 18:05 rcS.d

/etc/rc.d/rc0.d:
total 0
lrwxrwxrwx 1 root root 20 Nov 11 18:05 K00network
-> ../../init.d/network lrwxrwxrwx 1 root root 21 Nov 11 18:05
K16sysklogd -> ../../init.d/sysklogd lrwxrwxrwx 1 root root 24 Nov 11
18:05 K32sendsignals -> ../../init.d/sendsignals lrwxrwxrwx 1 root root
17 Nov 11 18:05 K48swap -> ../../init.d/swap lrwxrwxrwx 1 root root 20
Nov 11 18:05 K64mountfs -> ../../init.d/mountfs lrwxrwxrwx 1 root root
21 Nov 11 18:05 K80localnet -> ../../init.d/localnet lrwxrwxrwx 1 root
root 17 Nov 11 18:05 S00halt -> ../../init.d/halt

/etc/rc.d/rc1.d:
total 0
lrwxrwxrwx 1 root root 20 Nov 11 18:05 K00network
-> ../../init.d/network lrwxrwxrwx 1 root root 21 Nov 11 18:05
K50sysklogd -> ../../init.d/sysklogd

/etc/rc.d/rc2.d:
total 0
lrwxrwxrwx 1 root root 20 Nov 11 18:05 K00network
-> ../../init.d/network lrwxrwxrwx 1 root root 21 Nov 11 18:05
K50sysklogd -> ../../init.d/sysklogd

/etc/rc.d/rc3.d:
total 0
lrwxrwxrwx 1 root root 21 Nov 11 18:05 S00sysklogd
-> ../../init.d/sysklogd lrwxrwxrwx 1 root root 20 Nov 11 18:05
S50network -> ../../init.d/network

/etc/rc.d/rc4.d:
total 0
lrwxrwxrwx 1 root root 21 Nov 11 18:05 S00sysklogd
-> ../../init.d/sysklogd lrwxrwxrwx 1 root root 20 Nov 11 18:05
S50network -> ../../init.d/network

/etc/rc.d/rc5.d:
total 0
lrwxrwxrwx 1 root root 21 Nov 11 18:05 S00sysklogd
-> ../../init.d/sysklogd lrwxrwxrwx 1 root root 20 Nov 11 18:05
S50network -> ../../init.d/network

/etc/rc.d/rc6.d:
total 0
lrwxrwxrwx 1 root root 20 Nov 11 18:05 K00network
-> ../../init.d/network lrwxrwxrwx 1 root root 21 Nov 11 18:05
K16sysklogd -> ../../init.d/sysklogd lrwxrwxrwx 1 root root 24 Nov 11
18:05 K32sendsignals -> ../../init.d/sendsignals lrwxrwxrwx 1 root root
17 Nov 11 18:05 K48swap -> ../../init.d/swap lrwxrwxrwx 1 root root 20
Nov 11 18:05 K64mountfs -> ../../init.d/mountfs lrwxrwxrwx 1 root root
21 Nov 11 18:05 K80localnet -> ../../init.d/localnet lrwxrwxrwx 1 root
root 19 Nov 11 18:05 S00reboot -> ../../init.d/reboot

/etc/rc.d/rcS.d:
total 0
lrwxrwxrwx 1 root root 24 Nov 11 18:05 S00mountvirtfs
-> ../../init.d/mountvirtfs lrwxrwxrwx 1 root root 20 Nov 11 18:05
S09modules -> ../../init.d/modules lrwxrwxrwx 1 root root 21 Nov 11
18:05 S18localnet -> ../../init.d/localnet lrwxrwxrwx 1 root root 17
Nov 11 18:05 S27udev -> ../../init.d/udev lrwxrwxrwx 1 root root 20 Nov
11 18:05 S36checkfs -> ../../init.d/checkfs lrwxrwxrwx 1 root root 20
Nov 11 18:05 S45mountfs -> ../../init.d/mountfs lrwxrwxrwx 1 root root
17 Nov 11 18:05 S54swap -> ../../init.d/swap lrwxrwxrwx 1 root root 20
Nov 11 18:05 S63cleanfs -> ../../init.d/cleanfs lrwxrwxrwx 1 root root
23 Nov 11 18:05 S72udev_retry -> ../../init.d/udev_retry lrwxrwxrwx 1
root root 20 Nov 11 18:05 S81console -> ../../init.d/console lrwxrwxrwx
1 root root 19 Nov 11 18:05 S90sysctl -> ../../init.d/sysctl
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to