1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00

Rootfs fixup

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-02-05 14:04:27 +01:00
parent dec32445a1
commit 03881316b5

View file

@ -29,6 +29,8 @@ build() {
cp "$SCRIPTDIR/pkg/$PKGNAME/passwd" "$BUILD/etc/passwd"
cp "$SCRIPTDIR/pkg/$PKGNAME/group" "$BUILD/etc/group"
ln -s /proc/self/mounts "$BUILD/etc/mtab"
# install packages to rootfs
dependencies | tsort | tac | grep -v "$PKGNAME" > "$BUILD/etc/packages"
echo "toolchain" >> "$BUILD/etc/packages"