- corrected a bug in fstab generation
- added hostname
This commit is contained in:
parent
4d2d86ad58
commit
de35f24fe3
@ -1 +1 @@
|
|||||||
|
pi.rapsberry
|
||||||
|
@ -464,15 +464,16 @@ copyingsystem()
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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"
|
info "making /etc/fstab"
|
||||||
echo "proc /proc proc defaults 0 0
|
echo "proc /proc proc defaults 0 0
|
||||||
$BOOT_UUID /boot vfat defaults 0 0
|
$BOOT_UUID /boot vfat defaults 0 0
|
||||||
$ROOT_UUID / ext4 defaults 0 0" > "$BUILD_PATH"/etc/fstab
|
$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
|
case $TARGET in
|
||||||
rpi)
|
rpi)
|
||||||
info "copying raspberry firmware in /boot"
|
info "copying raspberry firmware in /boot"
|
||||||
@ -533,6 +534,7 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules
|
|||||||
# Copying files common to all systems
|
# Copying files common to all systems
|
||||||
copyingcommon()
|
copyingcommon()
|
||||||
{
|
{
|
||||||
|
title "Copying common files and configuration"
|
||||||
rsync -aP "$SOURCE_PATH/common/" "$ROOT/"
|
rsync -aP "$SOURCE_PATH/common/" "$ROOT/"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
##
|
##
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
dtoverlay=vc4-kms-v3d,cma-128
|
#dtoverlay=vc4-kms-v3d,cma-128
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user