forked from ungleich-public/cdist
rename & cleanup
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
parent
50bca7891f
commit
bb9d889d15
7 changed files with 22 additions and 6 deletions
1
hacking/.gitignore
vendored
1
hacking/.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
iso/
|
||||
*.iso
|
||||
preos/
|
||||
|
|
|
@ -2,9 +2,14 @@
|
|||
- rootfs fix
|
||||
- get working to login
|
||||
- have sshd enabled
|
||||
- kernel -> initramfs?
|
||||
http://jootamam.net/howto-initramfs-image.htm
|
||||
- busybox!!
|
||||
|
||||
- everything into initramfs?
|
||||
|
||||
- permission problem on various files below /etc
|
||||
|
||||
- Target:
|
||||
- get working iso
|
||||
- have it configured and gathered by cdist?
|
||||
|
|
|
@ -8,12 +8,14 @@
|
|||
gettext glibc grep gzip inetutils iproute2 \
|
||||
iputils jfsutils less licenses linux logrotate lvm2 \
|
||||
man-db man-pages mdadm nano pacman pciutils \
|
||||
pcmciautils perl procps-ng psmisc reiserfsprogs \
|
||||
pcmciautils procps-ng psmisc reiserfsprogs \
|
||||
s-nail sed shadow sysfsutils systemd-sysvcompat tar \
|
||||
texinfo usbutils util-linux vi which xfsprogs \
|
||||
usbutils util-linux vi which xfsprogs \
|
||||
; do
|
||||
pacman -Qlq $pkg | grep -v \
|
||||
-e /usr/share/man/ \
|
||||
-e /usr/share/doc/
|
||||
-e /usr/share/doc/ \
|
||||
-e /usr/include
|
||||
|
||||
done
|
||||
) | sort | uniq
|
||||
|
|
|
@ -6,14 +6,20 @@
|
|||
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
pkg="
|
||||
#bin_list="udevadm bash fdisk mount syslinux umount rm mv"
|
||||
bin_list="udevadm fdisk"
|
||||
|
||||
bin_list="bash fdisk mount syslinux umount rm mv"
|
||||
libs=$(mktemp /tmp/cdist-preos-libs.XXXXXXXXXXXXX)
|
||||
|
||||
for bin in bin_list; do
|
||||
|
||||
for bin in command_list; do
|
||||
|
||||
done
|
||||
|
||||
rm -f "$libs"
|
||||
|
||||
# lfs
|
||||
## ldd /bin/$f | sed "s/\t//" | cut -d " " -f1 >> $unsorted
|
||||
|
||||
exit 0
|
||||
|
|
@ -20,6 +20,8 @@ done
|
|||
cd "${initramfs_dir}"
|
||||
find . | cpio -H newc -o | gzip
|
||||
|
||||
rm -rf "${initramfs_dir}"
|
||||
|
||||
exit 0
|
||||
|
||||
# TODO:
|
||||
|
|
Loading…
Reference in a new issue