commit f1159c02d47a08e6f4f651235889cd722a3866f1
parent 539822f9fc7659b8f637931b63f8522164649597
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 22 Jul 2014 22:59:12 +0000
install-crux: copy core pkg, add more info
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/misc/install-crux b/misc/install-crux
@@ -1,6 +1,13 @@
#!/bin/sh
# Things you might want to do after setup:
# - use misc/run-chroot to chroot to it.
+#
+# Properly install packages and install prt-get:
+# - cd /pkg/core; for i in *; do pkgadd -f $i; done
+# - ports -u
+# - prt-get sysup
+#
+# Setup morpheus building environment:
# - remove gcc, binutils, pkg-config etc packages.
# - remove libraries such as libpng (png-config), these can mess up
# the builds.
@@ -8,10 +15,11 @@
# python for example uses files from /usr/include/python2.7 at runtime (oh oh).
# - add a separate morpheus user to build stuff.
# - copy static plan9 mk to /bin.
-# - copy static git to /bin
-
-# wget http://www.mirrorservice.org/sites/crux.nu/crux/latest/iso/crux-3.0.iso
-# wget http://serverop.de/crux/crux-3.1/iso/crux-3.1.iso
+# - prt-get install git.
+#
+# Links to iso:
+# wget http://www.mirrorservice.org/sites/crux.nu/crux/latest/iso/crux-3.0.iso
+# wget http://serverop.de/crux/crux-3.1/iso/crux-3.1.iso
set -e -x
@@ -32,8 +40,8 @@ cd "${root}"
tar -xJf "${mnt}/rootfs.tar.xz"
# copy packages (core only).
-#mkdir -p "${root}/pkg/"
-#cp -a "${mnt}/crux/core" "${root}/pkg/"
+mkdir -p "${root}/pkg/"
+cp -a "${mnt}/crux/core" "${root}/pkg/"
# make package dir needed by crux.
mkdir -p "${root}/var/lib/pkg"