aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpio-pfx.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-04-23 00:23:36 -0400
committerMitch Riedstra <mitch@riedstra.us>2018-04-23 00:31:02 -0400
commit477bfced7fdaa525f9cc7f13afdacb2a48f07379 (patch)
treefc1e657add7456e7c791d7729c08e37feae4567e /scripts/cpio-pfx.sh
parent42f57801fc0a0842aedbb8d645641710f4877c87 (diff)
downloadmin-477bfced7fdaa525f9cc7f13afdacb2a48f07379.tar.gz
min-477bfced7fdaa525f9cc7f13afdacb2a48f07379.tar.xz
Massive changes, ssh and Nginx work!HEADmaster
Bump to 4.16.3 in /boot/syslinux.cfg Add `ssh`, `nobody`, and `nogroup`, in `/etc/passwd` and `/etc/group` Updated the init script to use `mdev` Added a service definition for a getty on tty0 Added a service definition for sshd Added busybox udhcpc `default.script` I *still need to check the license* ( Copied from my Gentoo installation, and works ) Updated readme.md to reflect the fact that we pull in the commands from `pfx` and you'll need to add `/lib/ld-musl-x86_64.so.1` or change the PATH in `./inc` Added rsync, ncdu xz and grub. Removed tar-pfx.sh Replaced with cpio-pfx.sh added `conf.sh` which will be taking care of basic system configuration for now Change configuration directory for libressl Enable wide chars in `ncurses` Use `/etc` for SSH configuration files Remove make clean from tree.sh and xz.sh Added relevant files to sources.lst
Diffstat (limited to 'scripts/cpio-pfx.sh')
-rw-r--r--scripts/cpio-pfx.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/cpio-pfx.sh b/scripts/cpio-pfx.sh
new file mode 100644
index 0000000..483b4d9
--- /dev/null
+++ b/scripts/cpio-pfx.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+. ./.vars
+
+SZE=$(du -sm $prefix |awk '{print $1}')
+
+ # | cpio -R root:root -do - \
+cd "$prefix"
+find . \
+ | cpio -v -R root:root -oH newc \
+ | pv -s ${SZE}M \
+ | xz -T1 -1 -c > $base_dir/pfx.cpio.xz