aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build24
-rw-r--r--scripts/cycle.2.sh4
-rw-r--r--scripts/cycle.3.sh3
3 files changed, 19 insertions, 12 deletions
diff --git a/build b/build
index eb629f3..b7f039f 100644
--- a/build
+++ b/build
@@ -23,15 +23,15 @@ unmount
clean
tarit stage2-amd64-hardened
hashit
-#
-#log stamp
-#log CYCLE_3
-#log stamp
-#
-#mount
-#populate 3
-#runscript cycle.3.sh
-#unmount
-#clean
-#tarit stage3-amd64-hardened
-#hashit
+
+log stamp
+log CYCLE_3
+log stamp
+
+mount
+populate 3
+runscript cycle.3.sh
+unmount
+clean
+tarit stage3-amd64-hardened
+hashit
diff --git a/scripts/cycle.2.sh b/scripts/cycle.2.sh
index 68f7e33..1e5e3b5 100644
--- a/scripts/cycle.2.sh
+++ b/scripts/cycle.2.sh
@@ -1,3 +1,7 @@
#!/bin/bash -e
/usr/portage/scripts/bootstrap.sh -q
+
+for d in info doc man zoneinfo; do
+ find /usr/share -type d -iname ${d} -exec rm -rf {} +
+done
diff --git a/scripts/cycle.3.sh b/scripts/cycle.3.sh
new file mode 100644
index 0000000..8c26081
--- /dev/null
+++ b/scripts/cycle.3.sh
@@ -0,0 +1,3 @@
+#!/bin/bash -e
+
+emerge -bkNe1q @system