aboutsummaryrefslogtreecommitdiffstats
path: root/xu4
diff options
context:
space:
mode:
authorDaniel Tartavel <contact@librepc.com>2018-07-20 22:03:10 +0200
committerDaniel Tartavel <contact@librepc.com>2018-07-20 22:03:10 +0200
commit1b7e0990b931486a245fa943c958ed63d9b2b2b2 (patch)
tree6dc8ff87e1f33c72f5656de159cbedc836efe533 /xu4
parent89e17ff1a42e133010de39262125a081d6b83785 (diff)
downloadmageia4arm-1b7e0990b931486a245fa943c958ed63d9b2b2b2.tar
mageia4arm-1b7e0990b931486a245fa943c958ed63d9b2b2b2.tar.gz
mageia4arm-1b7e0990b931486a245fa943c958ed63d9b2b2b2.tar.bz2
mageia4arm-1b7e0990b931486a245fa943c958ed63d9b2b2b2.tar.xz
mageia4arm-1b7e0990b931486a245fa943c958ed63d9b2b2b2.zip
- new file in xu4 directory
Diffstat (limited to 'xu4')
-rw-r--r--xu4/second_stage_install.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/xu4/second_stage_install.sh b/xu4/second_stage_install.sh
new file mode 100644
index 0000000..1ae2316
--- /dev/null
+++ b/xu4/second_stage_install.sh
@@ -0,0 +1,34 @@
+#!/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
+
+/usr/sbin/urpmi --auto --no-verify-rpm basesystem chrony rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make dracut u-boot-tools
+/usr/sbin/urpmi --urpmi-root "$BUILD_PATH" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 200 ./kernel-odroid-4.14.y-1.armv7hl.rpm
+
+/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
+