gnomeos: local-clone into built image
This way we have the whole history in the image, and we can start to demo things like switching roots, pulling etc.
This commit is contained in:
parent
dce29a984a
commit
79eb682cda
|
|
@ -63,8 +63,10 @@ if (! test -f ${OBJ}); then
|
|||
mkdir -p -m 0755 ./ostree/var/{log,run,tmp,spool}
|
||||
cd ostree
|
||||
mkdir repo
|
||||
rev=$(ostree --repo=${OSTREE_REPO} rev-parse gnomeos-base);
|
||||
ostree --repo=${OSTREE_REPO} checkout ${rev} gnomeos-base-${rev}
|
||||
ostree --repo=repo init
|
||||
ostree --repo=${OSTREE_REPO} local-clone repo
|
||||
rev=$(ostree --repo=repo rev-parse gnomeos-base);
|
||||
ostree --repo=repo checkout ${rev} gnomeos-base-${rev}
|
||||
ln -s gnomeos-base-${rev} current
|
||||
cd ..
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue