Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Refresh notes

  • Loading branch information...
commit 534be7ba50bfcfce5dc6fecaf9069243a3e9cdab 1 parent de3ee53
@djs55 authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 NOTES.md
View
8 NOTES.md
@@ -44,5 +44,11 @@ sh autogen.sh
make
mkdir /tmp/centos
sudo ./src/febootstrap --names bash -o /tmp/centos
+cd ..
mkdir /tmp/appliance
-./helper/febootstrap-supermin-helper /tmp/centos/ x86_64 /tmp/appliance/vmlinuz /tmp/appliance/initrd
+# febootstrap-supermin-helper failed by concatenating two cpio archives, leaving us
+# with two "TRAILER!!" records.
+mkdir /tmp/appliance/root
+(cd /tmp/appliance/root; cpio -id < /tmp/centos/base.img)
+(cd /tmp/appliance/root; cat /tmp/centos/hostfiles | ./expand-glob.py | cpio -pdumv .)
+(cd /tmp/appliance/root; find . | cpio -o -H newc | gzip -9c > /tmp/appliance/initrd)
Please sign in to comment.
Something went wrong with that request. Please try again.