gnomeos: Fix gnomeos-run.sh to use new naming scheme
This commit is contained in:
parent
8d935f46c4
commit
8e6293de38
|
|
@ -2,7 +2,7 @@
|
||||||
# -*- indent-tabs-mode: nil; -*-
|
# -*- indent-tabs-mode: nil; -*-
|
||||||
# Run built image in QEMU
|
# Run built image in QEMU
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
|
# Copyright (C) 2011,2012 Colin Walters <walters@verbum.org>
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Lesser General Public
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
|
|
@ -41,8 +41,8 @@ OSTREE_REPO=$1
|
||||||
shift
|
shift
|
||||||
test -n "$OSTREE_REPO" || usage
|
test -n "$OSTREE_REPO" || usage
|
||||||
|
|
||||||
ARCH=x86
|
ARCH=i686
|
||||||
BRANCH_PREFIX="gnomeos-yocto-${ARCH}-"
|
BRANCH_PREFIX="gnomeos-3.4-${ARCH}-"
|
||||||
|
|
||||||
OBJ=gnomeos-fs.img
|
OBJ=gnomeos-fs.img
|
||||||
if (! test -f ${OBJ}); then
|
if (! test -f ${OBJ}); then
|
||||||
|
|
@ -86,7 +86,7 @@ done
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
test -d proc || mkdir proc # needed for ostree-init
|
test -d proc || mkdir proc # needed for ostree-init
|
||||||
cp -a ./ostree/${BRANCH_PREFIX}base-current/usr/sbin/ostree-init .
|
cp -a ./ostree/${BRANCH_PREFIX}${branch}-current/usr/sbin/ostree-init .
|
||||||
|
|
||||||
cd ${WORKDIR}
|
cd ${WORKDIR}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue