dot

packages and services management
Log | Files | Refs | README

commit 7b6f2393cfeac29f5cad22546a3ba4a2118c111c
parent ee49b7fc3b43f54c1048026cc07f27695a5fa273
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 29 Jul 2018 15:15:45 +0000

backup

Diffstat:
Mbin/.pack-test.swp | 0
Mbin/pack-test | 23+++++++++++++++--------
Dpack/busybox/.build.swp | 0
Apack/tinyldap/version | 1+
4 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/bin/.pack-test.swp b/bin/.pack-test.swp Binary files differ. diff --git a/bin/pack-test b/bin/pack-test @@ -1,18 +1,25 @@ #!/bin/sh -e pack add busybox -pack add gmake pack add dash rm -rf /mnt/pack -mkdir -p /mnt/pack/etc - +mkdir -p /mnt/pack cd /mnt/pack - -cp -r /opt/gmake/cur/* . +mkdir -p etc dev lib proc sys usr cp -r /opt/dash/cur/* . cp /opt/busybox/cur/bin/busybox bin -cp -r /etc/pack/* etc/pack +#cp -r /etc/pack/* etc/pack +echo root:x:0:0:root:/root:/bin/bash >/etc/passwd +ln -s dash /mnt/pack/bin/sh +mount --bind /dev /mnt/pack/dev +mount --bind /etc /mnt/pack/etc +mount --bind /lib /mnt/pack/lib +mount --bind /usr /mnt/pack/usr +mount --bind /proc /mnt/pack/proc +mount --bind /sys /mnt/pack/sys + +PATH=/bin chroot /mnt/pack /bin/busybox --install -s / || -chroot /mnt/pack busybox --install -s / -#for f in /etc/pack/* +umount /mnt/pack/dev +umount /mnt/pack/etc diff --git a/pack/busybox/.build.swp b/pack/busybox/.build.swp Binary files differ. diff --git a/pack/tinyldap/version b/pack/tinyldap/version @@ -0,0 +1 @@ +main