1
0

- corrected a bug in fstab generation

- added hostname
This commit is contained in:
Daniel Tartavel 2018-07-22 18:46:29 +02:00
parent 4d2d86ad58
commit de35f24fe3
3 changed files with 9 additions and 7 deletions

View File

@ -1 +1 @@
pi.rapsberry

View File

@ -464,15 +464,16 @@ copyingsystem()
exit 1
fi
info "copying Mageia image to root partition"
/bin/rsync -a --exclude boot/ --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/"
/bin/rsync -a "$BUILD_PATH/boot/" "$BOOT/"
info "making /etc/fstab"
echo "proc /proc proc defaults 0 0
$BOOT_UUID /boot vfat defaults 0 0
$ROOT_UUID / ext4 defaults 0 0" > "$BUILD_PATH"/etc/fstab
info "copying Mageia image to root partition"
/bin/rsync -a --exclude "boot/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/"
/bin/rsync -a "$BUILD_PATH/boot/" "$BOOT/"
/bin/mkdir "$ROOT/boot"
case $TARGET in
rpi)
info "copying raspberry firmware in /boot"
@ -533,6 +534,7 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules
# Copying files common to all systems
copyingcommon()
{
title "Copying common files and configuration"
rsync -aP "$SOURCE_PATH/common/" "$ROOT/"
}

View File

@ -19,7 +19,7 @@
##
################################################################################
dtoverlay=vc4-kms-v3d,cma-128
#dtoverlay=vc4-kms-v3d,cma-128