From 1de1ff1a297fc9cef517be263be4f873a1d01d65 Mon Sep 17 00:00:00 2001 From: David P Date: Sat, 1 Aug 2020 16:14:19 -0400 Subject: sync releng with archiso v46 and fix baseline mkinitcpio.conf hooks Signed-off-by: David P --- configs/releng/airootfs/root/customize_airootfs.sh | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'configs/releng/airootfs/root/customize_airootfs.sh') 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 -- cgit v1.2.2