aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Tartavel <contact@librepc.com>2018-07-22 18:46:29 +0200
committerDaniel Tartavel <contact@librepc.com>2018-07-22 18:46:29 +0200
commitde35f24fe3c63c5f08bcd903a94c43d4608ac7e4 (patch)
treeadb0ac6c3394cd6d8337121c270ede5272598d0a
parent4d2d86ad5871f0de2992026047bf0fea60abeb2f (diff)
downloadmageia4arm-de35f24fe3c63c5f08bcd903a94c43d4608ac7e4.tar
mageia4arm-de35f24fe3c63c5f08bcd903a94c43d4608ac7e4.tar.gz
mageia4arm-de35f24fe3c63c5f08bcd903a94c43d4608ac7e4.tar.bz2
mageia4arm-de35f24fe3c63c5f08bcd903a94c43d4608ac7e4.tar.xz
mageia4arm-de35f24fe3c63c5f08bcd903a94c43d4608ac7e4.zip
- corrected a bug in fstab generation
- added hostname
-rw-r--r--common/etc/hostname2
-rwxr-xr-xcreate_arm_img_urpmi.sh12
-rw-r--r--rpi/config.txt2
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