Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
a3d14012bb
6 changed files with 20 additions and 10 deletions
|
|
@ -35,9 +35,9 @@ fi
|
|||
function ask() {
|
||||
while :; do
|
||||
read -p "$1 [Y/N] " -r answer
|
||||
if echo "$answer" | egrep -iq '^(y|yes|sure)$'; then
|
||||
if echo "$answer" | grep -Eiq '^(y|yes|sure)$'; then
|
||||
return 0
|
||||
elif echo "$answer" | egrep -iq '^(n|no|nope)$'; then
|
||||
elif echo "$answer" | grep -Eiq '^(n|no|nope)$'; then
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
|
@ -67,7 +67,7 @@ function fix_kit_permissions() {
|
|||
function load_settings() {
|
||||
dos2unix "$ROOT_DIR/scripts/wk/cfg/main.py"
|
||||
while read line; do
|
||||
if echo "$line" | egrep -q "^\w+='"; then
|
||||
if echo "$line" | grep -Eq "^\w+='"; then
|
||||
line="$(echo "$line" | sed -r 's/[\r\n]+//')"
|
||||
eval "$line"
|
||||
fi
|
||||
|
|
@ -358,8 +358,6 @@ function build_iso() {
|
|||
| tee -a "$LOG_DIR/$DATETIME.log"
|
||||
|
||||
# Build better ISO
|
||||
rm -r "${ISO_DIR:-safety}/EFI"
|
||||
rm -r "${ISO_DIR:-safety}/loader"
|
||||
rsync -aI "$PROFILE_DIR/EFI/" "${ISO_DIR:-safety}/EFI/"
|
||||
rsync -aI --ignore-existing "$PROFILE_DIR/syslinux/" "${ISO_DIR:-safety}/syslinux/"
|
||||
## Sketchy bit ##
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ bc
|
|||
bind
|
||||
bluez
|
||||
bluez-utils
|
||||
btrfs-progs
|
||||
chntpw
|
||||
cmatrix
|
||||
colordiff
|
||||
|
|
@ -18,9 +19,13 @@ ddrescue
|
|||
device-mapper
|
||||
diffutils
|
||||
dmidecode
|
||||
dmraid
|
||||
dos2unix
|
||||
dosfstools
|
||||
e2fsprogs
|
||||
edk2-shell
|
||||
exfatprogs
|
||||
gptfdisk
|
||||
hexedit
|
||||
hfsprogs
|
||||
htop
|
||||
|
|
@ -51,11 +56,11 @@ mprime
|
|||
mtools
|
||||
nano
|
||||
ncdu
|
||||
nvme-cli
|
||||
openssh
|
||||
p7zip
|
||||
perl
|
||||
pipes.sh
|
||||
reiserfsprogs
|
||||
pv
|
||||
python
|
||||
python-docopt
|
||||
|
|
@ -64,6 +69,8 @@ python-mysql-connector
|
|||
python-psutil
|
||||
python-pytz
|
||||
python-requests
|
||||
qemu-guest-agent
|
||||
reiserfsprogs
|
||||
reiserfsprogs
|
||||
rfkill
|
||||
rng-tools
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ gtk-doc
|
|||
gtk3
|
||||
hwloc
|
||||
imlib2
|
||||
intltool
|
||||
iwd
|
||||
json-glib
|
||||
lhasa
|
||||
|
|
@ -28,10 +29,11 @@ openssh
|
|||
p7zip
|
||||
pango
|
||||
perl-rename
|
||||
reiserfsprogs
|
||||
pv
|
||||
refind
|
||||
reiserfsprogs
|
||||
rsync
|
||||
scdoc
|
||||
startup-notification
|
||||
subversion
|
||||
syslinux
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
title Arch Linux (x86_64, UEFI)
|
||||
title %ARCHISO_LABEL%
|
||||
sort-key 01
|
||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
|
||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
title Arch Linux (x86_64, UEFI) Copy to RAM
|
||||
title %ARCHISO_LABEL% (Copy to RAM)
|
||||
sort-key 02
|
||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
|
||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
||||
|
|
|
|||
|
|
@ -8,12 +8,13 @@ iso_application="KIT_NAME_FULL Linux Environment"
|
|||
iso_version="$(date +%Y-%m-%d)"
|
||||
install_dir="arch"
|
||||
buildmodes=('iso')
|
||||
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
|
||||
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito')
|
||||
arch="x86_64"
|
||||
pacman_conf="pacman.conf"
|
||||
airootfs_image_type="squashfs"
|
||||
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
|
||||
file_permissions=(
|
||||
["/root"]="0:0:750"
|
||||
["/etc/shadow"]="0:0:400"
|
||||
["/etc/gshadow"]="0:0:400"
|
||||
["/etc/skel/.ssh"]="0:0:700"
|
||||
|
|
|
|||
Loading…
Reference in a new issue