mirror of
https://github.com/pygos/build.git
synced 2024-11-22 19:19:46 +01:00
Rootfs fixup
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
dec32445a1
commit
03881316b5
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ build() {
|
||||||
cp "$SCRIPTDIR/pkg/$PKGNAME/passwd" "$BUILD/etc/passwd"
|
cp "$SCRIPTDIR/pkg/$PKGNAME/passwd" "$BUILD/etc/passwd"
|
||||||
cp "$SCRIPTDIR/pkg/$PKGNAME/group" "$BUILD/etc/group"
|
cp "$SCRIPTDIR/pkg/$PKGNAME/group" "$BUILD/etc/group"
|
||||||
|
|
||||||
|
ln -s /proc/self/mounts "$BUILD/etc/mtab"
|
||||||
|
|
||||||
# install packages to rootfs
|
# install packages to rootfs
|
||||||
dependencies | tsort | tac | grep -v "$PKGNAME" > "$BUILD/etc/packages"
|
dependencies | tsort | tac | grep -v "$PKGNAME" > "$BUILD/etc/packages"
|
||||||
echo "toolchain" >> "$BUILD/etc/packages"
|
echo "toolchain" >> "$BUILD/etc/packages"
|
||||||
|
|
Loading…
Reference in a new issue