rename & cleanup

Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-05-19 11:52:14 +02:00
parent 50bca7891f
commit bb9d889d15
7 changed files with 22 additions and 6 deletions

1
hacking/.gitignore vendored
View file

@ -1,2 +1,3 @@
iso/ iso/
*.iso *.iso
preos/

View file

@ -2,9 +2,14 @@
- rootfs fix - rootfs fix
- get working to login - get working to login
- have sshd enabled - have sshd enabled
- kernel -> initramfs?
http://jootamam.net/howto-initramfs-image.htm
- busybox!!
- everything into initramfs? - everything into initramfs?
- permission problem on various files below /etc
- Target: - Target:
- get working iso - get working iso
- have it configured and gathered by cdist? - have it configured and gathered by cdist?

View file

@ -8,12 +8,14 @@
gettext glibc grep gzip inetutils iproute2 \ gettext glibc grep gzip inetutils iproute2 \
iputils jfsutils less licenses linux logrotate lvm2 \ iputils jfsutils less licenses linux logrotate lvm2 \
man-db man-pages mdadm nano pacman pciutils \ 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 \ s-nail sed shadow sysfsutils systemd-sysvcompat tar \
texinfo usbutils util-linux vi which xfsprogs \ usbutils util-linux vi which xfsprogs \
; do ; do
pacman -Qlq $pkg | grep -v \ pacman -Qlq $pkg | grep -v \
-e /usr/share/man/ \ -e /usr/share/man/ \
-e /usr/share/doc/ -e /usr/share/doc/ \
-e /usr/include
done done
) | sort | uniq ) | sort | uniq

View file

@ -6,14 +6,20 @@
PATH=/bin:/sbin:/usr/bin:/usr/sbin 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 done
rm -f "$libs"
# lfs
## ldd /bin/$f | sed "s/\t//" | cut -d " " -f1 >> $unsorted
exit 0 exit 0

View file

@ -20,6 +20,8 @@ done
cd "${initramfs_dir}" cd "${initramfs_dir}"
find . | cpio -H newc -o | gzip find . | cpio -H newc -o | gzip
rm -rf "${initramfs_dir}"
exit 0 exit 0
# TODO: # TODO: