diff options
author | Daniel Tartavel <contact@librepc.com> | 2018-07-22 18:46:29 +0200 |
---|---|---|
committer | Daniel Tartavel <contact@librepc.com> | 2018-07-22 18:46:29 +0200 |
commit | de35f24fe3c63c5f08bcd903a94c43d4608ac7e4 (patch) | |
tree | adb0ac6c3394cd6d8337121c270ede5272598d0a /create_arm_img_urpmi.sh | |
parent | 4d2d86ad5871f0de2992026047bf0fea60abeb2f (diff) | |
download | mageia4arm-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
Diffstat (limited to 'create_arm_img_urpmi.sh')
-rwxr-xr-x | create_arm_img_urpmi.sh | 12 |
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/" } |