deleting some old files no more needed
This commit is contained in:
parent
9a2af32600
commit
8e14a565c7
@ -1,22 +0,0 @@
|
|||||||
# 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
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +0,0 @@
|
|||||||
fatload mmc 0:1 ${kernel_addr_r} vmlinuz
|
|
||||||
fatload mmc 0:1 ${fdt_addr_r} bcm2710-rpi-3-b.dtb
|
|
||||||
fatload mmc 0:1 ${ramdisk_addr_r} initrd.img
|
|
||||||
setenv bootargs console=ttyAMA0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait panic=10
|
|
||||||
bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
|
|
1193
rpi/config.txt
1193
rpi/config.txt
File diff suppressed because it is too large
Load Diff
@ -1,3 +0,0 @@
|
|||||||
Section "Extensions"
|
|
||||||
Option "DPMS" "Disable"
|
|
||||||
EndSection
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +0,0 @@
|
|||||||
fatload mmc 0:1 ${kernel_addr_r} vmlinuz
|
|
||||||
fatload mmc 0:1 ${fdt_addr} bcm2837-rpi-3-b.dtb
|
|
||||||
fatload mmc 0:1 ${ramdisk_addr_r} initrd.img
|
|
||||||
setenv bootargs console=ttyAMA0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait panic=10
|
|
||||||
bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr}
|
|
1193
rpi2/config.txt
1193
rpi2/config.txt
File diff suppressed because it is too large
Load Diff
1
rpi3+/10-vchiq-permissions.rules
Normal file
1
rpi3+/10-vchiq-permissions.rules
Normal file
@ -0,0 +1 @@
|
|||||||
|
SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"
|
56
rpi3+/mageia4arm.cfg.original
Normal file
56
rpi3+/mageia4arm.cfg.original
Normal file
@ -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"
|
3
rpi3+/modprobe.conf
Normal file
3
rpi3+/modprobe.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
alias wlan0 brcmfmac
|
||||||
|
alias eth0 smsc95xx
|
||||||
|
alias usb0 rndis_host
|
41
rpi3+/second_stage_install.sh
Normal file
41
rpi3+/second_stage_install.sh
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
|
||||||
|
#
|
||||||
|
|
||||||
|
# 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/>.
|
||||||
|
|
||||||
|
/usr/bin/chown :shadow /etc/shadow /etc/gshadow /etc/login.defs /etc/pam.d/chage-chfn-chsh /etc/pam.d/chpasswd-newusers /etc/pam.d/system-auth /etc/pam.d/user-group-mod /bin/passwd /bin/chage
|
||||||
|
|
||||||
|
/usr/bin/chown :systemd-journal -R /var/log/journal
|
||||||
|
|
||||||
|
#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 binutils dracut u-boot rsync kernel-desktop-latest mlocate drakx-kbd-mouse-x11
|
||||||
|
|
||||||
|
|
||||||
|
/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony
|
||||||
|
/usr/bin/chown :daemon /etc/wpa_supplicant.conf
|
||||||
|
/usr/bin/chown :tty /bin/write /bin/wall
|
||||||
|
/usr/bin/chown :lock /sbin/lockdev
|
||||||
|
/usr/bin/chown :bin /sbin/traceroute
|
||||||
|
/usr/bin/chown polkitd /etc/polkit-1/rules.d
|
||||||
|
|
||||||
|
KV=`basename /boot/vmlinuz-*`
|
||||||
|
KV=${KV#vmlinuz-}
|
||||||
|
dracut --kver $KV
|
||||||
|
rm -f $0
|
||||||
|
cp /boot/vmlinuz-* /boot/vmlinuz
|
||||||
|
cp /boot/initrd-* /boot/initrd
|
@ -1,27 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
# 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/>.
|
|
||||||
|
|
||||||
if [ "$1" = "" ];then
|
|
||||||
echo "syntax install_graphical.sh [xfce | lxde | lxqt | plasma | gnome] ( see task-* for all )"
|
|
||||||
else
|
|
||||||
PATH="$(/bin/dirname "$(readlink -f "$0")")"
|
|
||||||
echo "Path="$PATH
|
|
||||||
. $PATH/install_video_driver.sh
|
|
||||||
. $PATH/install_gstreamer.sh
|
|
||||||
/usr/sbin/urpmi --auto --no-verify-rpm task-$1
|
|
||||||
fi
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
# 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/>.
|
|
||||||
|
|
||||||
|
|
||||||
/usr/sbin/urpmi --auto --no-verify-rpm x11-driver-video-fbdev xinit xclock
|
|
||||||
|
|
||||||
echo "#!/bin/sh
|
|
||||||
|
|
||||||
# patch for display manager service which do not start automatically
|
|
||||||
systemctl start display-manager.service &" >/etc/rc.d/rc.local
|
|
||||||
/usr/bin/chmod a+x /etc/rc.d/rc.local
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
# 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/>.
|
|
||||||
|
|
||||||
PATH="$(/bin/dirname "$(readlink -f "$0")")"
|
|
||||||
echo "Path="$PATH
|
|
||||||
. $PATH/install_video_driver.sh
|
|
||||||
. $PATH/install_gstreamer.sh
|
|
||||||
/usr/sbin/urpmi --auto --no-verify-rpm task-xfce
|
|
Reference in New Issue
Block a user