Browse Source

renamed raspi dir by rpi

Daniel Tartavel 3 years ago
parent
commit
074e6a5e03

conf/config.template → config.template


+ 0 - 57
config/config.template

@@ -1,57 +0,0 @@
1
-
2
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot   <contact@librepc.com>
3
-#
4
-# This program is free software; you can redistribute it and/or modify
5
-# it under the terms of the GNU General Public License as published by
6
-# the Free Software Foundation; either version 2 of the License, or
7
-# (at your option) any later version.
8
-#
9
-# This program is distributed in the hope that it will be useful,
10
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
-# GNU General Public License for more details.
13
-#
14
-# You should have received a copy of the GNU General Public License
15
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
-
17
-
18
-MAGEIA_VERSION="6"
19
-ARM_VERSION="armv7hl"
20
-
21
-#target plateform (xu3-4 or rpi)
22
-TARGET="xu3-4" 
23
-
24
-# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
25
-MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
26
-
27
-# image will be created here
28
-INSTALL_PATH="/path/to/$TARGET"
29
-
30
-# Build directory will be created here
31
-BUILD_PATH="$INSTALL_PATH/build"
32
-
33
-#name of the image
34
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
35
-
36
-#Mount point of image's partitions
37
-BOOT="/mnt/boot"
38
-ROOT="/mnt/root"
39
-
40
-#Default user
41
-ID_USER="user login"
42
-PASSWORD="user password"
43
-
44
-#root password
45
-ROOT_PWD="root password"
46
-
47
-#Hostname 
48
-HOSTNAME="$TARGET.$ID_USER" 
49
-
50
-#Filesystem of boot partitions (default ext4 raspberry pi need vfat)
51
-#BOOTFS=ext4
52
-
53
-#kernel package to install (just needed for odroid)
54
-#KERNEL=kernel-odroid
55
-
56
-#Path where the raspberry pi firmware is/will be installed
57
-FIRMWARE_PATH="$INSTALL_PATH/"

+ 0 - 52
config/odroid.config

@@ -1,52 +0,0 @@
1
-
2
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot   <contact@librepc.com>
3
-#
4
-# This program is free software; you can redistribute it and/or modify
5
-# it under the terms of the GNU General Public License as published by
6
-# the Free Software Foundation; either version 2 of the License, or
7
-# (at your option) any later version.
8
-#
9
-# This program is distributed in the hope that it will be useful,
10
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
-# GNU General Public License for more details.
13
-#
14
-# You should have received a copy of the GNU General Public License
15
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
-
17
-
18
-MAGEIA_VERSION="6"
19
-ARM_VERSION="armv7hl"
20
-TARGET="xu3-4"
21
-
22
-# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
23
-MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
24
-
25
-# image will be created here
26
-INSTALL_PATH="/mnt/perso/xu4-test/"
27
-
28
-# Build directory will be created here
29
-BUILD_PATH="$INSTALL_PATH/build"
30
-
31
-#name of the image
32
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
33
-
34
-#Mount point of image's partitions
35
-BOOT="/mnt/boot_xu4"
36
-ROOT="/mnt/root_xu4"
37
-
38
-#Default user
39
-ID_USER="odroid"
40
-PASSWORD="xu4"
41
-
42
-#root password
43
-ROOT_PWD="odroid"
44
-
45
-#Hostname
46
-HOSTNAME="xu4.odroid"
47
-
48
-#Filesystem of boot partitions (default ext4)
49
-#BOOTFS=ext4
50
-
51
-#kernel package to install
52
-KERNEL=kernel-odroid

+ 0 - 57
config/raspi.config

@@ -1,57 +0,0 @@
1
-
2
-# Copyright (C) 2017-2018 Daniel Tartavel-jeannot   <contact@librepc.com>
3
-#
4
-# This program is free software; you can redistribute it and/or modify
5
-# it under the terms of the GNU General Public License as published by
6
-# the Free Software Foundation; either version 2 of the License, or
7
-# (at your option) any later version.
8
-#
9
-# This program is distributed in the hope that it will be useful,
10
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
-# GNU General Public License for more details.
13
-#
14
-# You should have received a copy of the GNU General Public License
15
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
-
17
-
18
-MAGEIA_VERSION="6"
19
-ARM_VERSION="armv7hl"
20
-
21
-#target plateform (xu3-4 or rpi)
22
-TARGET="raspi" 
23
-
24
-# URL of the Mageia mirror used to install ( see mirrors.mageia.org )
25
-MIRROR="http://ftp.free.fr/mirrors/mageia.org/distrib/$MAGEIA_VERSION/$ARM_VERSION"
26
-
27
-# image will be created here
28
-INSTALL_PATH="/mnt/perso/raspi-test/"
29
-
30
-# Build directory will be created here
31
-BUILD_PATH="$INSTALL_PATH/build"
32
-
33
-#name of the image
34
-IMAGE="Mageia-${MAGEIA_VERSION}-$TARGET.img"
35
-
36
-#Mount point of image's partitions
37
-BOOT="/mnt/boot"
38
-ROOT="/mnt/root"
39
-
40
-#Default user
41
-ID_USER="user login"
42
-PASSWORD="user password"
43
-
44
-#root password
45
-ROOT_PWD="root password"
46
-
47
-#Hostname 
48
-HOSTNAME="$TARGET.$ID_USER" 
49
-
50
-#Filesystem of boot partitions (default ext4 raspberry pi need vfat)
51
-BOOTFS="vfat"
52
-
53
-#kernel package to install (just needed for odroid)
54
-KERNEL=""
55
-
56
-#Path where the raspberry pi firmware is/will be installed
57
-FIRMWARE_PATH="$INSTALL_PATH/"

+ 5 - 1
create_arm_img_urpmi.sh

@@ -622,8 +622,9 @@ BOOT="/mnt/boot"
622 622
 ROOT="/mnt/root"
623 623
 BUILD_PATH="$INSTALL_PATH/build"
624 624
 ARM_VERSION="armv7hl"
625
+
625 626
 if [ -z $CONFIG_PATH ];then
626
-	CONFIG_PATH="./$SYSTEM"
627
+	CONFIG_PATH="./$TARGET"
627 628
 fi
628 629
 
629 630
 if [ -d "./$CONFIG_PATH" ];then
@@ -637,6 +638,8 @@ if [ -d "./$CONFIG_PATH" ];then
637 638
 			/usr/bin/cp ./config.template "./$CONFIG_PATH/config.txt"
638 639
 		fi
639 640
 		/usr/bin/cp ./config.template "./$CONFIG_PATH/config.txt"
641
+		warning "You need now to modify the config file and relaunch the script"
642
+		exit 1
640 643
 	fi
641 644
 else
642 645
 	warning "Config directory does not exists, do you want i make it and copy the template file in? [Y|n] "
@@ -644,6 +647,7 @@ else
644 647
 	if [ -z $yn || $yn -eq "Y" || $yn -eq "y" ];then
645 648
 		/usr/bin/mkdir ./$CONFIG_PATH/
646 649
 		/usr/bin/cp ./config.template "./$CONFIG_PATH/config.txt"
650
+		warning "You need now to modify the config file and relaunch the script"
647 651
 	fi
648 652
 fi
649 653
 

+ 4 - 0
mageia4arm.kdev4

@@ -0,0 +1,4 @@
1
+[Project]
2
+CreatedFrom=
3
+Manager=KDevGenericManager
4
+Name=mageia4arm

files/brcmfmac43430-sdio.txt → rpi/brcmfmac43430-sdio.txt


files/modprobe.conf → rpi/modprobe.conf


conf/raspi.config → rpi/raspi.config


files/second_stage_install.sh → rpi/second_stage_install.sh


files/boot.ini → xu4/boot.ini


conf/odroid.config → xu4/config.txt