#!/bin/sh CHROOT="$1" # totem gst-inspect requires a machine id (generated by dbus). we # don't have one yet because we are in a virgin chroot. fake one mkdir -p "${CHROOT}/var/lib/dbus" echo 1234567890abcdef1234567890abcdef > "${CHROOT}"/var/lib/dbus/machine-id # argh, something depends on pkgconfig but it's not in it's deps chroot "${CHROOT}" emerge -1n dev-util/pkgconfig