getting the initial setup working



Hey Colin,

I've been trying to follow the script in
https://live.gnome.org/OSTree/GnomeOS, and there are a few roadblocks:

First problem: ostree-install.sh still refers to ${BRANCH_PREFIX}, but
that is not defined anymore in the script.

After copying the definition over from gnomeos-update-branches.sh, the
linux-user-choot command still fails, with:

+ linux-user-chroot --mount-readonly / --mount-proc /proc --mount-bind
/dev /dev --mount-bind /ostree/var /var --mount-bind
/tmp/gnomeos-dracut.BKH4OE2s9P /tmp --mount-bind /ostree/modules
/lib/modules /ostree/gnomeos-3.4-i686-devel dracut -f
/tmp/initramfs-ostree-3.3.4-3.fc17.x86_64.img 3.3.4-3.fc17.x86_64
mount (MS_BIND): No such file or directory

Adding a mkdir /ostree/${BRANCH_PREFIX}devel gets a little further,
but still fails with missing dirs.

Changing it to mkdir -p
/ostree/${BRANCH_PREFIX}devel/{proc,dev,var,tmp,lib/modules} gets as
far as

+ linux-user-chroot --mount-readonly / --mount-proc /proc --mount-bind
/dev /dev --mount-bind /ostree/var /var --mount-bind
/tmp/gnomeos-dracut.gZbh7hSVW1 /tmp --mount-bind /ostree/modules
/lib/modules /ostree/gnomeos-3.4-i686-devel /usr/bin/dracut -f
/tmp/initramfs-ostree-3.3.4-3.fc17.x86_64.img 3.3.4-3.fc17.x86_64
execv: No such file or directory


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]