Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Doeme committed Oct 4, 2019
2 parents 4214e9b + 9fee0a6 commit b585c34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gebuilder/scripts/initialize/default/00-copy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

if [ ! -f "/var/lib/gebuilder/roots/stemgentoo/root/" ]; then
error "Stemgen was not initialized"
error exit
fi

if [[ -v DELETE_ON_FAIL ]]; then on_error "rm --one-file-system -r '${ROOT}'"; fi

rsync -a roots/stemgentoo/root/ "${ROOT}"
rsync -a /var/lib/gebuilder/roots/stemgentoo/root/ "${ROOT}"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

sed -i -e '/auto-sync = no/d' ${OPENSTACK_IMG_MNT}/etc/portage/repos.conf/gentoo

0 comments on commit b585c34

Please sign in to comment.