aboutsummaryrefslogtreecommitdiffstats
path: root/create_arm_img_urpmi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_arm_img_urpmi.sh')
-rwxr-xr-xcreate_arm_img_urpmi.sh12
1 files changed, 7 insertions, 5 deletions
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/"
}