some small bugs corrected
This commit is contained in:
parent
06f2c8674b
commit
bbd38aab37
@ -7,7 +7,7 @@ Démarrage rapide:
|
||||
Choisissez le dossier de configuration adapté à votre besoin (rpi ou xu4), sinon créez un nouveau dossier de configuration, copiez le fichier "mageia4arm.cfg.template"" à l'interieur et modifiez le selon vos besoins.
|
||||
Par défaut l'utilisateur est "pi"" avec le mot de passe "raspberry", et l'administrateur "root" avec le mot de passe "piroot"
|
||||
|
||||
Créer l'image:
|
||||
Créer l'image:
|
||||
create_arm_img_urpmi.sh --all --config <dossier de configuration>
|
||||
|
||||
Aide:
|
||||
@ -21,8 +21,6 @@ Premier lancement de l'image sur le raspberry pi:
|
||||
. si vous avez besoin d'un gestionnaire graphique, lancer le script:
|
||||
install_graphical.sh \<gestionnaire-graphique\>( xfce, lxqt, plasma, ...) voir les métapaquetages disponibles dans "Environnement graphique" dans le gestionnaire de logiciels.
|
||||
|
||||
ATTENTION: Après une mise à jour du kernel vous devez lancer le script sed_extlinux.conf.sh afin de modifier le fichier extlinux.conf, sinon votre raspberry pi ne re-démarrera pas.
|
||||
|
||||
|
||||
|
||||
This repository contains script to make image for arm based systems from Mageia repositories.
|
||||
@ -44,5 +42,3 @@ First launch of the image on raspberry pi:
|
||||
. launch drakkeyboard for configure keyboard layout.
|
||||
. if you need a graphical environment, launch the script :
|
||||
install_graphical.sh \<graphical environment\> ( xfce, lxqt, plasma, ...), see "Graphical environment" in the Mageia application manager' meta packages.
|
||||
|
||||
ATTENTION: after updating the kernel, you must launch the script "sed_extlinux.conf.sh" to modify extlinux.conf else your raspberry pi will not boot anymore.
|
||||
|
@ -598,7 +598,7 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules
|
||||
esac
|
||||
|
||||
info "copying Mageia image to root partition"
|
||||
/bin/rsync -a --exclude "rpi_boot/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/"
|
||||
/bin/rsync -a --exclude "$RPI_BOOT/" --exclude "qemu-arm-static*" "$BUILD_PATH/" "$ROOT/"
|
||||
/bin/rsync -a "$RPI_BOOT/" "$BOOT/"
|
||||
# /bin/mkdir "$ROOT/boot"
|
||||
|
||||
|
22
extlinux.conf
Normal file
22
extlinux.conf
Normal file
@ -0,0 +1,22 @@
|
||||
# File generated by DrakX/drakboot
|
||||
default Mageia
|
||||
timeout 20
|
||||
menu title Boot Menu
|
||||
|
||||
label Mageia
|
||||
kernel /boot/vmlinuz
|
||||
initrd /boot/initrd
|
||||
fdtdir /usr/lib/linux-4.19.11-desktop-2.mga7
|
||||
append root=UUID=f9fdc05d-2cc9-42d8-a8dc-2f79ff008045 dwc_otg.lpm_enable=0 kgdboc=ttyS0,115200 console=tty1 rootwait fsck.repair=1 elevator=deadline cma=256M\@512M audit=0 disable_overscan=1
|
||||
|
||||
label linux
|
||||
kernel /boot/vmlinuz
|
||||
initrd /boot/initrd.img
|
||||
fdtdir /usr/lib/linux-4.19.12-desktop-2.mga7
|
||||
append root=UUID=f9fdc05d-2cc9-42d8-a8dc-2f79ff008045 8250.nr_uarts=1 console=ttyS0,115200 console=tty1 elevator=deadline cma=256M@512M
|
||||
|
||||
label desktop 4.19.12-2.mga7
|
||||
kernel /boot/vmlinuz-4.19.12-desktop-2.mga7
|
||||
initrd /boot/initrd-4.19.12-desktop-2.mga7.img
|
||||
fdtdir /usr/lib/linux-4.19.12-desktop-2.mga7
|
||||
append root=UUID=f9fdc05d-2cc9-42d8-a8dc-2f79ff008045 8250.nr_uarts=1 console=ttyS0,115200 console=tty1 elevator=deadline cma=256M@512M
|
@ -17,7 +17,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
if [ "$1" = "" ] || [ "$1" = "-h" ];then
|
||||
echo "syntax install_graphical.sh [ sugar | xfce | lxde | lxqt | enlightenment | mate | cinnamon plasma5 | gnome] ( see 'urpmq -Y task-' for all )"
|
||||
echo "syntax install_graphical.sh [ sugar | xfce | lxde | lxqt | enlightenment | mate | cinnamon | plasma5 | gnome] ( see 'urpmq -Y task-' for all )"
|
||||
else
|
||||
PATH="$(/bin/dirname "$(readlink -f "$0")")"
|
||||
echo "installing Video drivers"
|
||||
|
Reference in New Issue
Block a user