From ba4f6a6dc3a85c7f2fd067d25bef72abb7445062 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Wed, 8 Jul 2015 10:03:31 -0400 Subject: scripts/cycle.3.sh: add stage3 build. --- build | 24 ++++++++++++------------ scripts/cycle.2.sh | 4 ++++ scripts/cycle.3.sh | 3 +++ 3 files changed, 19 insertions(+), 12 deletions(-) create mode 100644 scripts/cycle.3.sh 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 -- cgit v1.2.3-65-gdbad