From de35f24fe3c63c5f08bcd903a94c43d4608ac7e4 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 22 Jul 2018 18:46:29 +0200 Subject: [PATCH] - corrected a bug in fstab generation - added hostname --- common/etc/hostname | 2 +- create_arm_img_urpmi.sh | 12 +++++++----- rpi/config.txt | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/common/etc/hostname b/common/etc/hostname index 8d1c8b6..57b22bd 100644 --- a/common/etc/hostname +++ b/common/etc/hostname @@ -1 +1 @@ - +pi.rapsberry diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index 18680c5..a859213 100755 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -463,16 +463,17 @@ copyingsystem() error "line $LINENO error mounting $ROOTP : exiting" 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/" } diff --git a/rpi/config.txt b/rpi/config.txt index 9534f33..2c7a925 100644 --- a/rpi/config.txt +++ b/rpi/config.txt @@ -19,7 +19,7 @@ ## ################################################################################ -dtoverlay=vc4-kms-v3d,cma-128 +#dtoverlay=vc4-kms-v3d,cma-128