aboutsummaryrefslogtreecommitdiffstats
path: root/rpi
diff options
context:
space:
mode:
authorDaniel Tartavel <contact@librepc.com>2018-12-16 14:21:26 +0100
committerDaniel Tartavel <contact@librepc.com>2018-12-16 14:21:26 +0100
commit1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c (patch)
tree801769663b125dcf690abfc4375519aeefb5b7c2 /rpi
parent47e85a6d3a727cbe86208e3ae5a69a24b6e818c2 (diff)
downloadmageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.tar
mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.tar.gz
mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.tar.bz2
mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.tar.xz
mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.zip
Big update
Diffstat (limited to 'rpi')
-rw-r--r--rpi/extlinux.conf4
-rw-r--r--rpi/mageia4arm.cfg.original56
-rw-r--r--rpi/second_stage_install.sh2
3 files changed, 59 insertions, 3 deletions
diff --git a/rpi/extlinux.conf b/rpi/extlinux.conf
index 7f6b846..3226883 100644
--- a/rpi/extlinux.conf
+++ b/rpi/extlinux.conf
@@ -1,10 +1,10 @@
-menu autoboot Welcome to Mageia-Minimal.
+menu title Boot menu
timeout 20
default Mageia
label Mageia
kernel /vmlinuz
- append root=UUID=<UUID> dwc_otg.lpm_enable=0 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 rootwait fsck.repair=1 8250.nr_uarts=1 elevator=deadline cma=256M\@512M"
+ append root=UUID=78fa0462-5bcf-46ea-beb3-40cab8fe97c3 dwc_otg.lpm_enable=0 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 rootwait fsck.repair=1 8250.nr_uarts=1 elevator=deadline cma=256M\@512M audit=0
fdtdir /dtb/
initrd /initrd
diff --git a/rpi/mageia4arm.cfg.original b/rpi/mageia4arm.cfg.original
new file mode 100644
index 0000000..e1b78d9
--- /dev/null
+++ b/rpi/mageia4arm.cfg.original
@@ -0,0 +1,56 @@
+
+# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <dtux@free.fr>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+MAGEIA_VERSION="7"
+ARM_VERSION="armv7hl"
+
+#target plateform (xu3-4 or rpi)
+TARGET="rpi"
+
+# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
+MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
+# image will be created here
+INSTALL_PATH="<change this>"
+
+# Build directory will be created here
+BUILD_PATH="$INSTALL_PATH/build"
+
+#name of the image
+IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
+
+#Mount point of image's partitions
+#no need to be changed
+BOOT="/mnt/boot"
+ROOT="/mnt/root"
+
+#Default user
+ID_USER="pi"
+PASSWORD="raspberry"
+
+#root password
+ROOT_PWD="piroot"
+
+#Hostname
+HOSTNAME="$TARGET.$ID_USER"
+
+#Filesystem of boot partitions (default ext4 raspberry pi need vfat)
+#DO NOT CHANGE THIS
+BOOTFS="vfat"
+
+#Path where the raspberry pi firmware is/will be downloaded
+FIRMWARE_PATH="$INSTALL_PATH"
+FIRMWARE_DIR="firmware-stable"
diff --git a/rpi/second_stage_install.sh b/rpi/second_stage_install.sh
index a22a8fe..b337a92 100644
--- a/rpi/second_stage_install.sh
+++ b/rpi/second_stage_install.sh
@@ -23,7 +23,7 @@
#Install all packages you need
# No verifying rpm due to a bug in packages, some are not signed
-/usr/sbin/urpmi --auto --no-verify-rpm basesystem chrony rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make dracut u-boot rsync kernel-desktop-latest
+/usr/sbin/urpmi --auto --no-verify-rpm basesystem chrony rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make dracut u-boot rsync kernel-desktop-latest mlocate drakx-kbd-mouse-x11
/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony