diff options
author | Daniel Tartavel <contact@librepc.com> | 2018-12-26 10:37:41 +0100 |
---|---|---|
committer | Daniel Tartavel <contact@librepc.com> | 2018-12-26 10:37:41 +0100 |
commit | bbd38aab37ca956d0a542e8fe0275b34d5705dc6 (patch) | |
tree | 6e0a870ac8f3a5b3fd4e6c141730ebd3bd7817e7 | |
parent | 06f2c8674b3c23e61fee7b4bbad0112a93915bae (diff) | |
download | mageia4arm-bbd38aab37ca956d0a542e8fe0275b34d5705dc6.tar mageia4arm-bbd38aab37ca956d0a542e8fe0275b34d5705dc6.tar.gz mageia4arm-bbd38aab37ca956d0a542e8fe0275b34d5705dc6.tar.bz2 mageia4arm-bbd38aab37ca956d0a542e8fe0275b34d5705dc6.tar.xz mageia4arm-bbd38aab37ca956d0a542e8fe0275b34d5705dc6.zip |
some small bugs corrected
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | create_arm_img_urpmi.sh | 2 | ||||
-rw-r--r-- | extlinux.conf | 22 | ||||
-rwxr-xr-x | tools/install_graphical.sh | 2 |
4 files changed, 25 insertions, 7 deletions
@@ -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. diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index eb1ebec..6c7e6ba 100755 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -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" diff --git a/extlinux.conf b/extlinux.conf new file mode 100644 index 0000000..b06ccc7 --- /dev/null +++ b/extlinux.conf @@ -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 diff --git a/tools/install_graphical.sh b/tools/install_graphical.sh index a446922..a10ce12 100755 --- a/tools/install_graphical.sh +++ b/tools/install_graphical.sh @@ -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" |