diff options
author | David P <megver83@parabola.nu> | 2020-08-01 16:14:19 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-08-01 16:48:57 -0400 |
commit | 1de1ff1a297fc9cef517be263be4f873a1d01d65 (patch) | |
tree | cd21a4ec17e38f924563fb3142b810e4a3975b6c /configs/releng/airootfs/root/customize_airootfs.sh | |
parent | f013f2bc1b1b512c4a44a2046ccb1a2d76a489eb (diff) |
sync releng with archiso v46
and fix baseline mkinitcpio.conf hooks
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/releng/airootfs/root/customize_airootfs.sh')
-rwxr-xr-x | configs/releng/airootfs/root/customize_airootfs.sh | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh index dd8cefa..c72644a 100755 --- a/configs/releng/airootfs/root/customize_airootfs.sh +++ b/configs/releng/airootfs/root/customize_airootfs.sh @@ -1,17 +1,12 @@ -#!/bin/bash +#!/usr/bin/env bash +# +# SPDX-License-Identifier: GPL-3.0-or-later set -e -u +echo 'Warning: customize_airootfs.sh is deprecated! Support for it will be removed in a future parabolaiso version.' + sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen locale-gen -usermod -s /usr/bin/zsh root -cp -aT /etc/skel/ /root/ -chmod 700 /root -# unset the root password -passwd -d root - -sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist - -sed -i "s/_DATE_/$(date +%Y.%m.%d)/" /etc/motd |