1
0

some small bugs corrected

This commit is contained in:
Daniel Tartavel 2018-12-26 10:37:41 +01:00
parent 06f2c8674b
commit bbd38aab37
4 changed files with 25 additions and 7 deletions

View File

@ -21,8 +21,6 @@ Premier lancement de l'image sur le raspberry pi:
. si vous avez besoin d'un gestionnaire graphique, lancer le script: . 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. 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. 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. . launch drakkeyboard for configure keyboard layout.
. if you need a graphical environment, launch the script : . 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. 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.

View File

@ -598,7 +598,7 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules
esac esac
info "copying Mageia image to root partition" 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/rsync -a "$RPI_BOOT/" "$BOOT/"
# /bin/mkdir "$ROOT/boot" # /bin/mkdir "$ROOT/boot"

22
extlinux.conf Normal file
View 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

View File

@ -17,7 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
if [ "$1" = "" ] || [ "$1" = "-h" ];then 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 else
PATH="$(/bin/dirname "$(readlink -f "$0")")" PATH="$(/bin/dirname "$(readlink -f "$0")")"
echo "installing Video drivers" echo "installing Video drivers"