31 Commits

Author SHA1 Message Date
0b1d1f6337 live.conf: add default liveuser 2025-08-23 16:48:35 +02:00
a0dd2cf214 Merge pull request 'rm left over 66' (#13) from cleanup into master
Reviewed-on: #13
2025-08-23 16:42:40 +02:00
91ed830ec5 rm left over 66 2025-08-23 16:42:53 +02:00
1db120e8dc remove live sysusers.d 2025-08-20 10:56:30 +02:00
f6bf4f2e45 don't set root passwd 2025-08-18 23:22:12 +02:00
3a5fc25d6c create user at build time 2025-08-18 00:03:57 +02:00
53a7e308f6 don't install sysusersd file 2025-08-17 21:13:24 +02:00
ff902c578f put cal launcher removal in proper script 2025-01-27 17:10:12 +01:00
67be036faa fix desktop-items 2025-01-27 11:07:58 +01:00
82eaa0abe9 desktop-items: remove calamares default launcher 2025-01-27 10:48:51 +01:00
f4e03e0582 background pacman init 2024-08-04 00:43:58 +03:00
af257f6429 fix cinnamon installer icon 2024-07-28 01:30:48 +03:00
86c1bed2aa fix autologin race in dinit 2024-07-27 21:56:31 +03:00
a15c82d150 use cp instead of ln-s because ugly arrows or no icons 2024-07-27 21:25:26 +03:00
aa4b39fc2f dinit: update to reflect new structure in 0.3.0 2024-05-21 10:34:46 +07:00
a19a9c2ec3 update desktop map 2024-03-08 21:14:24 +01:00
d2162a565e desktop-otems: rm cal sym 2024-02-13 20:21:34 +01:00
63b0ed93a4 desktop-items: create a default calamares conf symlink 2024-02-07 22:46:21 +01:00
ede2702393 desktop-items: fix launcher 2024-01-16 12:58:41 +01:00
e756fc3518 symlink the new config switcher 2024-01-16 12:54:27 +01:00
09a16f77fd rm config switcher, better installed by cal extensions 2024-01-16 01:01:40 +01:00
5ea73f005a add calamares-config-switcher 2024-01-15 20:54:08 +01:00
74f8284a74 add grub live; prepare to rename repo in artix-live 2023-12-23 21:33:46 +01:00
241eaff261 symlink the calamares.desktop on desktop 2023-12-22 03:31:14 +01:00
41addb20c7 don't create the desktop installer entry 2023-12-22 02:35:23 +01:00
47705bab64 adapt to new service scheme 2023-09-26 09:07:47 +07:00
9a3d49b13a fix sed backup suffix 2023-07-09 21:23:02 +03:00
0000966ad8 tag 0.13.7 2023-07-09 00:30:07 +03:00
4c3cb26d8e bump ver 2023-07-09 00:24:22 +03:00
0736ea40b4 autodetect .Xauthority file 2023-07-09 00:21:18 +03:00
9fb0b98c6a live-s6: drop alpm hook 2022-04-10 02:03:41 +02:00
123 changed files with 1578 additions and 155 deletions

View File

@@ -1,6 +1,6 @@
VERSION = 0.13.5
VERSION = 0.14
PKG = live-services
PKG = artix-live
TOOLS = artools
SYSCONFDIR = /etc
@@ -8,8 +8,6 @@ PREFIX ?= /usr
BINDIR = $(PREFIX)/bin
LIBDIR = $(PREFIX)/lib
DATADIR = $(PREFIX)/share
SYSUSERSDIR = $(PREFIX)/lib/sysusers.d
LIVEUSER ?= artix
HOOKSDIR = $(DATADIR)/libalpm/hooks
SCRIPTSDIR = $(DATADIR)/libalpm/scripts
@@ -53,12 +51,6 @@ S6_PI = \
data/s6/pacman-init/up \
data/s6/pacman-init/down
66_LIVE = \
data/66/artix-live
66_PI = \
data/66/pacman-init
DINIT_LIVE = \
data/dinit/artix-live
@@ -70,23 +62,26 @@ DINIT_PI_SCRIPT = \
XDG = $(wildcard data/*.desktop)
XBIN = bin/desktop-items
XBIN = \
bin/desktop-items
SYSUSERS = \
data/sysusers
GRUB_CFG = $(wildcard data/grub/cfg/*.cfg)
GRUB_TZ = $(wildcard data/grub/tz/*)
GRUB_LOCALES = $(wildcard data/grub/locales/*)
RM = rm -f
M4 = m4 -P
CHMODAW = chmod a-w
CHMODX = chmod +x
all: $(BIN) $(SYSUSERS) $(XBIN) $(RC) $(RUNIT_SVD) $(S6_PI) $(S6_LIVE)
all: $(BIN) $(XBIN) $(RC) $(RUNIT_SVD) $(S6_PI) $(S6_LIVE)
EDIT = sed -e "s|@datadir[@]|$(DATADIR)|g" \
-e "s|@sysconfdir[@]|$(SYSCONFDIR)|g" \
-e "s|@bindir[@]|$(BINDIR)|g" \
-e "s|@libdir[@]|$(LIBDIR)|g" \
-e "s|@live[@]|$(LIVEUSER)|g"
-e "s|@libdir[@]|$(LIBDIR)|g"
%: %.in Makefile lib/util-live.sh
@echo "GEN $@"
@@ -97,15 +92,12 @@ EDIT = sed -e "s|@datadir[@]|$(DATADIR)|g" \
@bash -O extglob -n "$@"
clean:
$(RM) $(BIN) $(SYSUSERS) $(XBIN) $(RC) $(RUNIT_SVD) $(S6_PI) $(S6_LIVE)
$(RM) $(BIN) $(XBIN) $(RC) $(RUNIT_SVD) $(S6_PI) $(S6_LIVE)
install_base:
install $(DMODE) $(DESTDIR)$(BINDIR)
install $(BMODE) $(BIN) $(DESTDIR)$(BINDIR)
install $(DMODE) $(DESTDIR)$(SYSUSERSDIR)
install $(FMODE) $(SYSUSERS) $(DESTDIR)$(SYSUSERSDIR)/live-artix.conf
install $(DMODE) $(DESTDIR)$(DATADIR)/$(TOOLS)
install $(FMODE) $(SHARED) $(DESTDIR)$(DATADIR)/$(TOOLS)
@@ -129,7 +121,7 @@ install_runit:
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/runit/sv/pacman-init
install $(BMODE) $(RUNIT_SV) $(DESTDIR)$(SYSCONFDIR)/runit/sv/pacman-init/run
install_s6: install_alpm
install_s6:
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/s6/sv
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/s6/adminsv
@@ -142,20 +134,14 @@ install_s6: install_alpm
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/artix-live
install $(FMODE) $(S6_LIVE) $(DESTDIR)$(SYSCONFDIR)/s6/sv/artix-live/
install_66: install_alpm
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/66/service
install $(FMODE) $(66_LIVE) $(DESTDIR)$(SYSCONFDIR)/66/service/artix-live
install $(FMODE) $(66_PI) $(DESTDIR)$(SYSCONFDIR)/66/service/pacman-init
install_dinit:
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/dinit.d/scripts
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/dinit.d/live.d
install $(DMODE) $(DESTDIR)$(LIBDIR)/dinit
install $(DMODE) $(DESTDIR)$(SYSCONFDIR)/dinit.d/boot.d
install $(FMODE) $(DINIT_LIVE) $(DESTDIR)$(SYSCONFDIR)/dinit.d/artix-live
install $(FMODE) $(DINIT_PI) $(DESTDIR)$(SYSCONFDIR)/dinit.d/pacman-init
install $(BMODE) $(DINIT_PI_SCRIPT) $(DESTDIR)$(SYSCONFDIR)/dinit.d/scripts/pacman-init
ln -s ../artix-live $(DESTDIR)$(SYSCONFDIR)/dinit.d/live.d
ln -s ../pacman-init $(DESTDIR)$(SYSCONFDIR)/dinit.d/live.d
install $(BMODE) $(DINIT_PI_SCRIPT) $(DESTDIR)$(LIBDIR)/dinit/pacman-init
ln -s ../artix-live $(DESTDIR)$(SYSCONFDIR)/dinit.d/boot.d
ln -s ../pacman-init $(DESTDIR)$(SYSCONFDIR)/dinit.d/boot.d
install_xdg:
install -dm0755 $(DESTDIR)$(PREFIX)/bin
@@ -164,6 +150,16 @@ install_xdg:
install -dm0755 $(DESTDIR)$(SYSCONFDIR)/skel/.config/autostart
install -m0755 ${XDG} $(DESTDIR)$(SYSCONFDIR)/skel/.config/autostart
install: install_base install_rc install_runit install_s6 install_xdg
install_grub:
install $(DMODE) $(DESTDIR)$(PREFIX)/share/grub/cfg
install $(FMODE) $(GRUB_CFG) $(DESTDIR)$(PREFIX)/share/grub/cfg
.PHONY: install
install $(DMODE) $(DESTDIR)$(PREFIX)/share/grub/tz
install $(FMODE) $(GRUB_TZ) $(DESTDIR)$(PREFIX)/share/grub/tz
install $(DMODE) $(DESTDIR)$(PREFIX)/share/grub/locales
install $(FMODE) $(GRUB_LOCALES) $(DESTDIR)$(PREFIX)/share/grub/locales
install: install_base install_rc install_runit install_s6 install_xdg install_grub
.PHONY: install install_base install_rc install_runit install_s6 install_xdg install_grub

View File

@@ -1 +1,3 @@
# live-services
Live ISO setup, branding, installer for DE ISOs etc.

View File

@@ -21,3 +21,5 @@ configure_accountsservice
configure_displaymanager
configure_branding
remove_calamares_launcher

View File

@@ -1,39 +1,48 @@
#!/bin/sh
BINDIR=${BINDIR:-@bindir@}
DATADIR=${DATADIR:-@datadir@}
# Ensure the user directories are created, some DEs (MATE)
# create them after autostart scripts are run
xdg-user-dirs-update --force
xdg=$(xdg-user-dir DESKTOP)
src=@datadir@/applications
src="${DATADIR}"/applications
# if [ -f $src/org.kde.konversation.desktop ]; then
# install -m644 $src/org.kde.konversation.desktop \
# $xdg/org.kde.konversation.desktop
# fi
if [ -f @bindir@/calamares ]; then
cp -f $src/calamares.desktop "$xdg/"
sed -i s/Icon.*=calamares/Icon=artixlinux-logo/g "$xdg"/calamares.desktop
chmod +x "$xdg/calamares.desktop"
# if [ -f "${BINDIR}"/calamares ]; then
# installer='calamares.desktop'
# cp $src/$installer "$xdg/$installer"
# fi
# Use cp instead of symlinks because ugly arrows or no proper icons
if [ -f "${BINDIR}"/calamares-config-switcher ]; then
launcher='calamares-config-switcher.desktop'
cp "$src/$launcher" "$xdg/$launcher"
# Cinnamon needs this
chmod +x "$xdg/$launcher"
fi
docs=@datadir@/doc/artix
docs="${DATADIR}"/doc/artix
for f in {Configuration,Troubleshooting}.pdf; do
ln -s $docs/$f "$xdg"/$f
cp $docs/$f "$xdg"/$f
done
if [ -d /run/openrc ]; then
ln -s $docs/OpenRC.pdf "$xdg"/OpenRC.pdf
cp $docs/OpenRC.pdf "$xdg"/OpenRC.pdf
elif [ -d /run/runit ]; then
ln -s $docs/Runit.pdf "$xdg"/Runit.pdf
elif [ -d /run/66 ]; then
ln -s $docs/Suite66.pdf "$xdg"/Suite66.pdf
cp $docs/Runit.pdf "$xdg"/Runit.pdf
elif [ -d /run/dinit ]; then
ln -s $docs/Dinit.pdf "$xdg"/Dinit.pdf
cp $docs/Dinit.pdf "$xdg"/Dinit.pdf
else
ln -s $docs/S6.pdf "$xdg"/S6.pdf
cp $docs/S6.pdf "$xdg"/S6.pdf
fi
echo "live session details: /var/log/artix-live.log" > "$xdg"/README.txt

View File

@@ -1,8 +0,0 @@
[main]
@type = oneshot
@version = 0.0.1
@description = "artix-live service"
@user = ( root )
[start]
@execute = (artix-live)

View File

@@ -1,13 +0,0 @@
[main]
@type = oneshot
@description = "pacman init service"
@version = 0.0.2
@user = ( root )
@extdepends = ( haveged )
[start]
@execute = (
foreground { mkdir -p /etc/pacman.d/gnupg }
foreground { mount -t tmpfs -o size=10M,mode=0755 tmpfs /etc/pacman.d/gnupg }
foreground { pacman-key --init }
foreground { pacman-key --populate artix } )

View File

@@ -7,7 +7,7 @@ pekwm:pekwm
enlightenment:enlightenment_start
Lumina-DE:start-lumina-desktop
LXDE:lxsession
plasma:startplasma-x11
plasmax11:startplasma-x11
lxqt:lxqt-session
pantheon:pantheon-session
budgie-desktop:budgie-desktop

View File

@@ -1,4 +1,7 @@
type = scripted
command = /usr/bin/artix-live
restart = false
waits-for = setup
depends-on = local.target
before = login.target
before = lightdm
before = sddm

View File

@@ -1,5 +1,6 @@
type = scripted
command = /etc/dinit.d/scripts/pacman-init
command = /usr/lib/dinit/pacman-init
stop-command = /usr/bin/umount -l /etc/pacman.d/gnupg
restart = false
waits-for = setup
after = local.target
before = login.target

View File

@@ -0,0 +1,10 @@
if [ -z "${def_bootlang}" ]; then
def_bootlang="en_US"
def_keyboard="us"
def_timezone="UTC"
fi
if [ -z "${bootlang}" ]; then
bootlang="lang=${def_bootlang}"
keyboard="keytable=${def_keyboard}"
timezone="tz=${def_timezone}"
fi

545
data/grub/cfg/grub.cfg Normal file
View File

@@ -0,0 +1,545 @@
insmod font
insmod keylayouts
insmod part_msdos
insmod part_gpt
export loaded
export koptsok
export disable_gfxterm
export bootarch
export firmware
export firmware_found
export from
export fromiso
export bootlang
export keyboard
export timezone
export hwclock
export def_bootlang
export def_keyboard
export def_timezone
export menu_color_normal
export menu_color_highlight
export pager
function menu_help {
check_help
grub_help
}
function check_help {
if [ -z "${koptsok}" ]; then
echo $"WARNING: nothing set"
echo $" System will use defaults"
echo " American English utc clock us "$"keyboard"
echo ""
fi
}
function kopts_help {
echo $"Example boot command line arguments:"
echo $" Setup"
echo " lang=<language>_<variant> keytable=<layout> tz=<region>/<city>"
echo " hostname=<name> username=<name>"
echo $" Kernel"
echo " blacklist=<module>"
echo $" Video"
echo " <module>.modeset=0"
echo " radeon.modeset=0 nouveau.modeset=0 i915.modeset=0"
echo " video=VGA-1:1920x1080e DVI-0:800x600"
echo ""
}
function grub_help {
echo $"To use the menu:"
echo $" press up or down to move between items"
echo $" press enter or right to select the item"
echo $" press e to edit the current item"
echo $" press c to go to the grub command line"
echo ""
echo $"Simply edit the first line of most menus to control them"
echo $"Select or edit the blank line to enter command line arguments"
echo ""
}
function menu_reload {
configfile /boot/grub/grub.cfg
}
function menu_continue {
echo -n $"Press Enter to continue"
read mcont
}
function prompt {
echo -n "> "
}
function is_efi {
if [ "${grub_platform}" = "efi" ]; then
return 0
fi
return 1
}
function efi_detect {
if is_efi ; then
submenu --class=find.efi --hotkey=f "Detect EFI bootloaders" {
efi_found=false
for efi in (*,gpt*)/efi/*/*.efi (*,gpt*)/efi/*/*/*.efi (*,gpt*)/*.efi (*,gpt*)/*/*.efi ; do
regexp --set=1:efi_device '^\((.*)\)/' "${efi}"
if [ -e "${efi}" ]; then
efi_found=true
menuentry --class=efi "${efi}" "${efi_device}" {
root="${2}"
chainloader "${1}"
}
fi
done
if [ "${efi_found}" != true ]; then
menuentry --hotkey=q --class=find.none "No EFI files detected." {menu_reload}
else
menuentry --hotkey=q --class=cancel "Cancel" {menu_reload}
fi
}
fi
}
function memtest_detect {
if ! is_efi; then
if [ -f /boot/memtest ]; then
menuentry --class=memtest --hotkey=m "memtest" {linux16 /boot/$1}
fi
fi
}
function lang_setup {
source /boot/grub/locales/${1}
menu_reload
}
function lang_menu {
menuentry --class=lang.${ll} "lang=${ll}" "${ll}" {lang_setup "${2}"}
}
function show_timezones {
submenu --class=tz --hotkey=t "tz=${def_timezone}" {# set the timezone above with the editor
if [ -n "$1" ];then
if [ "$1" = "tz=${def_timezone}" ]; then
default=0
menuentry --class=cancel --hotkey=q "Cancel (${def_timezone})" {menu_reload}
for tt in Africa America Asia Atlantic Australia Etc Europe Pacific; do
submenu --class=tz.${tt} "${tt}" {
menuentry --class=cancel --hotkey=q "Cancel (${def_timezone})" {menu_reload}
source "/boot/grub/tz/${1}"
}
done
else
regexp -s newtz '^tz=(.*)' "$1"
if [ -z "$newtz" ]; then
def_timezone="$1"
else
def_timezone="$newtz"
fi
timezone="tz=$def_timezone"
menu_reload
fi
fi
}
}
function show_keymaps {
submenu --class=kbd --hotkey=k "keytable=${def_keyboard}" {# set the timezone above with the editor
if [ -n "$1" ]; then
if [ "$1" = "keytable=${def_keyboard}" ]; then
default=0
menuentry --class=cancel --hotkey=q "Cancel (${def_keyboard})" {menu_reload}
source /boot/grub/locales/keyboards
else
regexp -s newkey '^keytable=(.*)' "$1"
if [ -z "$newkey" ]; then
def_keyboard="$1"
else
def_keyboard="$newkey"
fi
keyboard="keytable=$def_keyboard"
menu_reload
fi
fi
}
}
function show_languages {
submenu --hotkey=l --class=lang "lang=${def_bootlang}" {# set the timezone above with the editor
if [ -n "$1" ]; then
if [ "$1" = "lang=${def_bootlang}" ]; then
default=0
menuentry --class=lang.${def_bootlang} "lang=${def_bootlang}" {menu_reload}
menuentry --class=lang.cs "Čeština" {lang_setup "cs_CZ"}
menuentry --class=lang.da "Dansk" {lang_setup "da_DK"}
submenu --class=lang.de "Deutsch" {
for ll in de_DE de_AT de_BE de_CH de_LI de_LU; do
lang_menu ${ll}
done
}
submenu --class=lang.el "Ελληνικά" {
for ll in el_GR el_CY; do
lang_menu ${ll}
done
}
submenu --class=lang.en "English" {
for ll in en_US en_AG en_AU en_BW en_CA en_DK en_UK en_HK en_IE en_IN en_NG en_NZ en_PH en_SG en_ZA en_ZW; do
lang_menu ${ll}
done
}
submenu --class=lang.es "Español" {
for ll in es_ES es_AR es_BO es_CL es_CO es_CR es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE; do
lang_menu ${ll}
done
}
submenu --class=lang.fr "Français" {
for ll in fr_FR fr_BE fr_CA fr_CH fr_LU fr_NC; do
lang_menu ${ll}
done
}
submenu --class=lang.it "Italiano" {
for ll in it_IT it_CH; do
lang_menu ${ll}
done
}
menuentry --class=lang.ja "日本語" {lang_setup "ja_JP"}
submenu --class=lang.nl "Nederlands" {
for ll in nl_NL nl_AW nl_BE; do
lang_menu ${ll}
done
}
menuentry --class=lang.pl "Polski" {lang_setup "pl_PL"}
submenu --class=lang.pt "Português" {
for ll in pt_BR pt_PT; do
lang_menu ${ll}
done
}
menuentry --class=lang.ro "Română" {lang_setup "ro_RO"}
submenu --class=lang.ru "Русский" {
for ll in ru_RU ru_UA;do
lang_menu ${ll}
done
}
menuentry --class=lang.sr "Српски" {lang_setup "sr_RS"}
submenu --class=lang.zh "中文" {
for ll in zh_CN zh_TW; do
lang_menu ${ll}
done
}
else
regexp -s newlang '^lang=(.*)' "$1"
if [ -z "$newlang" ]; then
def_bootlang="$1"
else
def_bootlang="$newlang"
fi
bootlang="lang=$def_bootlang"
if [ -f /boot/grub/locales/${def_bootlang} ]; then
source /boot/grub/locales/${def_bootlang}
fi
menu_reload
fi
fi
}
}
function boot_menu {
if [ "${hwclock}" = "utc=yes" ]; then
class="utc"
title="utc"
clockset=""
elif [ "${timezone}${bootlang}" = "" ]; then
class="unset"
title="utc"
clockset=""
else
title="${def_timezone}"
class="tz.${def_timezone}"
clockset="utc=yes"
fi
min2d="$MINUTE"
if regexp '(^.$)' "$min2d"; then
min2d="0${min2d}"
fi
hour2d="$HOUR"
if regexp '(^.$)' "$hour2d"; then
hour2d="0${hour2d}"
fi
menuentry --class=tz.$class --hotkey=u "$hour2d:$min2d $title" "$clockset" {
hwclock="$2"
menu_reload
}
show_timezones
show_keymaps
show_languages
default=2
}
function boot_defaults {
source /boot/grub/defaults.cfg
}
function grub_reboot {
menuentry " " {true}
menuentry --class=reboot "Reboot!" {reboot}
}
function grub_bios_installed {
if ! is_efi; then
menuentry "" {true}
menuentry --class=artix "Installed BIOS-System on $installed" {exit}
fi
}
function grub_efi_installed {
if is_efi; then
menu "" {true}
menu --class=artix "Installed EFI-System on $installed" {exit}
fi
}
function check {
cliname="$1"
varname="$2"
if [ "${optname}" != "${cliname}" ]; then
return 1
fi
if [ -z "$varname" ]; then
varname="${cliname}"
fi
if [ -z "${optval}" ]; then
eval ${varname}="${cliname}"
else
eval ${varname}="${cliname}=${optval}"
if [ "${optname}" = "lang" ]; then
lang_setup ${optval}
elif [ "${optname}" = "keytable" ]; then
def_keyboard="${optval}"
elif [ "${optname}" = "tz" ]; then
def_timezone="${optval}"
fi
fi
return 0
}
function checkinput {
newinput="$1"
newoutput=""
for newcli in ${newinput} ; do
optname=""
optval=""
optdone=""
regexp -s optname '^(.+)=.*$' "${newcli}"
if [ -z "${optname}" ]; then
optname="${newcli}"
else
regexp -s optval '^.+=(.*)$' "${newcli}"
fi
for tocheck in "lang bootlang" "keytable keyboard" "tz timezone" "utc hwclock"; do
if check $tocheck ; then
optdone="Y"
break
fi
done
if [ -z "${optdone}" ]; then
if [ -z "${newoutput}" ]; then
newoutput="${newcli}"
else
newoutput="${newoutput} ${newcli}"
fi
fi
done
}
function new2cli {
newinput="$1"
if [ -n "$newinput" ]; then
checkinput "$newinput"
if [ -n "${newoutput}" ]; then
newinput="${newoutput}"
if [ -n "$clinput" ]; then
clinput="$clinput $newinput"
else
clinput="$newinput"
fi
export clinput
fi
fi
}
function getargs {
args=""
for a in $@; do
if [ -n "${a}" ]; then
args="${args} ${a}"
fi
done
}
function bootcheck {
getargs
}
pager=1
insmod regexp
insmod datehook
if ! is_efi; then
insmod part_gpt
fi
if is_efi; then
insmod efi_gop
insmod efi_uga
fi
if [ -z "${loaded}" ]; then
iscd=""
auto=""
regexp -s iscd '^(cd)' "${root}"
if [ "${iscd}" != "cd" -a -e (cd) ]; then
probe -s cdp -u cd
probe -s hdp -u $root
if [ -n "$cdp" -a "$cdp" = "$hdp" ]; then
iscd="cd"
fi
fi
if [ "${root}" != "hd96" -a "${iscd}" != "cd" ]; then
auto="${auto}"
fi
source /boot/grub/variable.cfg
loaded=true
if keystatus --shift; then
disable_gfxterm=true
fi
if [ "${disable_gfxterm}" != "true" ]; then
if loadfont /boot/grub/unicode.pf2 ; then
if [ -z "$gfxmode" ] ; then
gfxmode=1024x768,800x600
gfxpayload=keep
fi
if keystatus --ctrl; then
gfxok=""
pager=0
while [ -z "$gfxok" ]; do
echo "gfxmode=$gfxmode"
echo "Input new mode or Enter to confirm"
prompt
read gfxmodein
if [ -n "$gfxmodein" ]; then
gfxmode="$gfxmodein"
echo ""
else
gfxok="true"
fi
done
fi
insmod all_video
insmod gfxterm
if terminal_output --append gfxterm; then
terminal_output --remove console
else
disable_gfxterm=true
fi
else
disable_gfxterm=true
fi
fi
if [ "${disable_gfxterm}" != "true" -a -f "${grub_theme}" ]; then
insmod gfxmenu
themedir=""
regexp -s themedir '^(.*)/.*$' "${grub_theme}"
for themefont in $themedir/*.pf2 $themedir/f/*.pf2; do
if [ -f "${themefont}" ]; then
loadfont "${themefont}"
fi
done
for imagetype in jpg jpeg png tga; do
for themeimage in ${themedir}/*.${imagetype}; do
if [ -f "${themeimage}" ]; then
if [ "${imagetype}" = "jpg" ]; then
insmod jpeg
else
insmod $imagetype
fi
fi
done
done
theme=${grub_theme}
export theme
fi
menu_color_normal=cyan/blue
menu_color_highlight=white/blue
if [ -n "${iso_path}" ]; then
auto="img_dev=/dev/disk/by-uuid/${rootuuid} img_loop=${iso_path}"
fi
export auto
fi
boot_defaults
for kopt in "${clinput}" "${bootlang}" "${keyboard}" "${timezone}" "${hwclock}" "${auto}"; do
if [ -n "${kopt}" ]; then
kopts="${kopts} ${kopt}"
fi
done
if [ -n "${bootlang}${keyboard}${timezone}" ]; then
koptsok="true"
fi
boot_menu
source /boot/grub/kernels.cfg
if [ -n "$clinput" ]; then
menuentry --class=edit "$clinput" {
if [ -n "$1" ]; then
clinput="$@"
else
unset clinput
fi
menu_reload
}
fi
menuentry --class=type --hotkey=tab "" {# set arguments above with the editor
getargs $@
pager=0
if [ -z "$args" ]; then
check_help
kopts_help
echo $"Input command line options, press Enter to continue"
prompt
read newinput
else
newinput="$args"
fi
new2cli "$newinput"
pager=1
menu_reload
}
menuentry --hotkey=h --class=help "help" {
pager=0
menu_help
menu_continue
pager=1
}
efi_detect
memtest_detect
search --no-floppy --file /etc/issue --set installed
grub_bios_installed
grub_efi_installed
grub_reboot

40
data/grub/cfg/kernels.cfg Normal file
View File

@@ -0,0 +1,40 @@
if cpuid -l; then
havekernel="Y"
title=""
for kopt in x86_64 $kopts @kopts@; do
if [ -n "$title" ] ; then
title="$title $kopt";
else
title="$kopt";
fi;
done
menuentry "From CD/DVD/ISO: artix.x86_64 " --class=artix.x86_64 "$title @ro_opts@" {# set arguments above with the editor
linux /boot/vmlinuz-$2
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-x86_64.img
}
menuentry "From Stick/HDD: artix.x86_64 " --class=artix.x86_64 "$title @rw_opts@" {# set arguments above with the editor
linux /boot/vmlinuz-$2
initrd /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-x86_64.img
}
fi
if [ "${havekernel}" != "Y" ]; then
menuentry --class=find.none "NO SUITABLE KERNELS AVAILABLE" {echo $@ echo "There are no kernels suitable for this machine available."
echo ""
if ! cpuid -l; then
echo "This machine is NOT 64bit capable."
for kk in /boot/vmlinu*x86_64; do
if [ "$kk" != "/boot/vmlinu*x86_64" ]; then
have32="true"
fi
done
if [ "${have32}" != "true" ]; then
echo "There are no 32bit kernels available"
echo "It appears you are trying to boot a 64bit release on a 32bit machine"
echo "This cannot work!"
fi
fi
echo "Press Escape to return to the main menu"
sleep --interruptible 9999
menu_reload
}
fi

View File

@@ -0,0 +1 @@
source /boot/grub/grub.cfg

View File

@@ -0,0 +1,2 @@
grub_theme=/boot/grub/themes/artix/theme.txt
timeout=-1

9
data/grub/locales/C_ Normal file
View File

@@ -0,0 +1,9 @@
lang=C
bootlang="lang=C_"
def_bootlang="C_"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Etc/UTC"
fi

9
data/grub/locales/be_BY Normal file
View File

@@ -0,0 +1,9 @@
lang=be
bootlang="lang=be_BY"
def_bootlang="be_BY"
if [ -z "${keyboard}" ]; then
def_keyboard="by"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Minsk"
fi

9
data/grub/locales/bg_BG Normal file
View File

@@ -0,0 +1,9 @@
lang=bg
bootlang="lang=bg_BG"
def_bootlang="bg_BG"
if [ -z "${keyboard}" ]; then
def_keyboard="bg"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Sofia"
fi

9
data/grub/locales/bs_BA Normal file
View File

@@ -0,0 +1,9 @@
lang=bs
bootlang="lang=bs_BA"
def_bootlang="bs_BA"
if [ -z "${keyboard}" ]; then
def_keyboard="ba"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Sarajevo"
fi

9
data/grub/locales/cs_CZ Normal file
View File

@@ -0,0 +1,9 @@
lang=cs
bootlang="lang=cs_CZ"
def_bootlang="cs_CZ"
if [ -z "${keyboard}" ]; then
def_keyboard="cz"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Prague"
fi

9
data/grub/locales/da_DK Normal file
View File

@@ -0,0 +1,9 @@
lang=da
bootlang="lang=da_DK"
def_bootlang="da_DK"
if [ -z "${keyboard}" ]; then
def_keyboard="dk"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Copenhagen"
fi

9
data/grub/locales/de_AT Normal file
View File

@@ -0,0 +1,9 @@
lang=de
bootlang="lang=de_AT"
def_bootlang="de_AT"
if [ -z "${keyboard}" ]; then
def_keyboard="de"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Vienna"
fi

9
data/grub/locales/de_BE Normal file
View File

@@ -0,0 +1,9 @@
lang=de
bootlang="lang=de_BE"
def_bootlang="de_BE"
if [ -z "${keyboard}" ]; then
def_keyboard="be"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Brussels"
fi

9
data/grub/locales/de_CH Normal file
View File

@@ -0,0 +1,9 @@
lang=de
bootlang="lang=de_CH"
def_bootlang="de_CH"
if [ -z "${keyboard}" ]; then
def_keyboard="ch"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Zurich"
fi

9
data/grub/locales/de_DE Normal file
View File

@@ -0,0 +1,9 @@
lang=de
bootlang="lang=de_DE"
def_bootlang="de_DE"
if [ -z "${keyboard}" ]; then
def_keyboard="de"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Berlin"
fi

9
data/grub/locales/de_LI Normal file
View File

@@ -0,0 +1,9 @@
lang=de
bootlang="lang=de_LI"
def_bootlang="de_LI"
if [ -z "${keyboard}" ]; then
def_keyboard="de"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Vaduz"
fi

9
data/grub/locales/de_LU Normal file
View File

@@ -0,0 +1,9 @@
lang=de
bootlang="lang=de_LU"
def_bootlang="de_LU"
if [ -z "${keyboard}" ]; then
def_keyboard="de"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Luxembourg"
fi

9
data/grub/locales/el_CY Normal file
View File

@@ -0,0 +1,9 @@
lang=el
bootlang="lang=el_CY"
def_bootlang="el_CY"
if [ -z "${keyboard}" ]; then
def_keyboard="gr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Athens"
fi

9
data/grub/locales/el_GR Normal file
View File

@@ -0,0 +1,9 @@
lang=el
bootlang="lang=el_GR"
def_bootlang="el_GR"
if [ -z "${keyboard}" ]; then
def_keyboard="gr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Athens"
fi

9
data/grub/locales/en_AG Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_AG"
def_bootlang="en_AG"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Antigua"
fi

9
data/grub/locales/en_AU Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_AU"
def_bootlang="en_AU"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Australia/Sydney"
fi

9
data/grub/locales/en_BW Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_BW"
def_bootlang="en_BW"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Africa/Gaborone"
fi

9
data/grub/locales/en_CA Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_CA"
def_bootlang="en_CA"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Toronto"
fi

9
data/grub/locales/en_DK Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_DK"
def_bootlang="en_DK"
if [ -z "${keyboard}" ]; then
def_keyboard="dk"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Copenhagen"
fi

9
data/grub/locales/en_HK Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_HK"
def_bootlang="en_HK"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Asia/Hong_Kong"
fi

9
data/grub/locales/en_IE Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_IE"
def_bootlang="en_IE"
if [ -z "${keyboard}" ]; then
def_keyboard="ie"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Dublin"
fi

9
data/grub/locales/en_IN Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_IN"
def_bootlang="en_IN"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Asia/Kolkata"
fi

9
data/grub/locales/en_NG Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_NG"
def_bootlang="en_NG"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Africa/Lagos"
fi

9
data/grub/locales/en_NZ Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_NZ"
def_bootlang="en_NZ"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Pacific/Auckland"
fi

9
data/grub/locales/en_PH Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_PH"
def_bootlang="en_PH"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Asia/Manila"
fi

9
data/grub/locales/en_SG Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_SG"
def_bootlang="en_SG"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Asia/Singapore"
fi

9
data/grub/locales/en_UK Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_UK"
def_bootlang="en_UK"
if [ -z "${keyboard}" ]; then
def_keyboard="uk"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/London"
fi

9
data/grub/locales/en_US Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_US"
def_bootlang="en_US"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/New_York"
fi

9
data/grub/locales/en_ZA Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_ZA"
def_bootlang="en_ZA"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Africa/Johannesburg"
fi

9
data/grub/locales/en_ZW Normal file
View File

@@ -0,0 +1,9 @@
lang=en
bootlang="lang=en_ZW"
def_bootlang="en_ZW"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Africa/Harare"
fi

9
data/grub/locales/es_AR Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_AR"
def_bootlang="es_AR"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Argentina/Buenos_Aires"
fi

9
data/grub/locales/es_BO Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_BO"
def_bootlang="es_BO"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/La_Paz"
fi

9
data/grub/locales/es_CL Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_CL"
def_bootlang="es_CL"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Santiago"
fi

9
data/grub/locales/es_CO Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_CO"
def_bootlang="es_CO"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Bogota"
fi

9
data/grub/locales/es_CR Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_CR"
def_bootlang="es_CR"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Costa_Rica"
fi

9
data/grub/locales/es_DO Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_DO"
def_bootlang="es_DO"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Santo_Domingo"
fi

9
data/grub/locales/es_EC Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_EC"
def_bootlang="es_EC"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Guayaquil"
fi

9
data/grub/locales/es_ES Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_ES"
def_bootlang="es_ES"
if [ -z "${keyboard}" ]; then
def_keyboard="es"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Madrid"
fi

9
data/grub/locales/es_GT Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_GT"
def_bootlang="es_GT"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Guatemala"
fi

9
data/grub/locales/es_HN Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_HN"
def_bootlang="es_HN"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Tegucigalpa"
fi

9
data/grub/locales/es_MX Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_MX"
def_bootlang="es_MX"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Mexico_City"
fi

9
data/grub/locales/es_NI Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_NI"
def_bootlang="es_NI"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Managua"
fi

9
data/grub/locales/es_PA Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_PA"
def_bootlang="es_PA"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Panama"
fi

9
data/grub/locales/es_PE Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_PE"
def_bootlang="es_PE"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Lima"
fi

9
data/grub/locales/es_PR Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_PR"
def_bootlang="es_PR"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Puerto_Rico"
fi

9
data/grub/locales/es_PY Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_PY"
def_bootlang="es_PY"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Asuncion"
fi

9
data/grub/locales/es_SV Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_SV"
def_bootlang="es_SV"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/El_Salvador"
fi

9
data/grub/locales/es_US Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_US"
def_bootlang="es_US"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/New_York"
fi

9
data/grub/locales/es_UY Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_UY"
def_bootlang="es_UY"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Montevideo"
fi

9
data/grub/locales/es_VE Normal file
View File

@@ -0,0 +1,9 @@
lang=es
bootlang="lang=es_VE"
def_bootlang="es_VE"
if [ -z "${keyboard}" ]; then
def_keyboard="latam"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Caracas"
fi

9
data/grub/locales/et_EE Normal file
View File

@@ -0,0 +1,9 @@
lang=et
bootlang="lang=et_EE"
def_bootlang="et_EE"
if [ -z "${keyboard}" ]; then
def_keyboard="et"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Tallinn"
fi

9
data/grub/locales/fi_FI Normal file
View File

@@ -0,0 +1,9 @@
lang=fi
bootlang="lang=fi_FI"
def_bootlang="fi_FI"
if [ -z "${keyboard}" ]; then
def_keyboard="fi"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Helsinki"
fi

9
data/grub/locales/fr_BE Normal file
View File

@@ -0,0 +1,9 @@
lang=fr
bootlang="lang=fr_BE"
def_bootlang="fr_BE"
if [ -z "${keyboard}" ]; then
def_keyboard="be"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Brussels"
fi

9
data/grub/locales/fr_CA Normal file
View File

@@ -0,0 +1,9 @@
lang=fr
bootlang="lang=fr_CA"
def_bootlang="fr_CA"
if [ -z "${keyboard}" ]; then
def_keyboard="ca"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Toronto"
fi

9
data/grub/locales/fr_CH Normal file
View File

@@ -0,0 +1,9 @@
lang=fr
bootlang="lang=fr_CH"
def_bootlang="fr_CH"
if [ -z "${keyboard}" ]; then
def_keyboard="ch"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Zurich"
fi

9
data/grub/locales/fr_FR Normal file
View File

@@ -0,0 +1,9 @@
lang=fr
bootlang="lang=fr_FR"
def_bootlang="fr_FR"
if [ -z "${keyboard}" ]; then
def_keyboard="fr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Paris"
fi

9
data/grub/locales/fr_LU Normal file
View File

@@ -0,0 +1,9 @@
lang=fr
bootlang="lang=fr_LU"
def_bootlang="fr_LU"
if [ -z "${keyboard}" ]; then
def_keyboard="fr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Luxembourg"
fi

9
data/grub/locales/fr_NC Normal file
View File

@@ -0,0 +1,9 @@
lang=fr
bootlang="lang=fr_NC"
def_bootlang="fr_NC"
if [ -z "${keyboard}" ]; then
def_keyboard="fr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Pacific/Noumea"
fi

9
data/grub/locales/ga_IE Normal file
View File

@@ -0,0 +1,9 @@
lang=ga
bootlang="lang=ga_IE"
def_bootlang="ga_IE"
if [ -z "${keyboard}" ]; then
def_keyboard="ie"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Dublin"
fi

9
data/grub/locales/he_IL Normal file
View File

@@ -0,0 +1,9 @@
lang=he
bootlang="lang=he_IL"
def_bootlang="he_IL"
if [ -z "${keyboard}" ]; then
def_keyboard="il"
fi
if [ -z "${timezone}" ]; then
def_timezone="Asia/Jerusalem"
fi

9
data/grub/locales/hr_HR Normal file
View File

@@ -0,0 +1,9 @@
lang=hr
bootlang="lang=hr_HR"
def_bootlang="hr_HR"
if [ -z "${keyboard}" ]; then
def_keyboard="hr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Zagreb"
fi

9
data/grub/locales/hu_HU Normal file
View File

@@ -0,0 +1,9 @@
lang=hu
bootlang="lang=hu_HU"
def_bootlang="hu_HU"
if [ -z "${keyboard}" ]; then
def_keyboard="hu"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Budapest"
fi

9
data/grub/locales/is_IS Normal file
View File

@@ -0,0 +1,9 @@
lang=is
bootlang="lang=is_IS"
def_bootlang="is_IS"
if [ -z "${keyboard}" ]; then
def_keyboard="is"
fi
if [ -z "${timezone}" ]; then
def_timezone="Atlantic/Reykjavik"
fi

9
data/grub/locales/it_CH Normal file
View File

@@ -0,0 +1,9 @@
lang=it
bootlang="lang=it_CH"
def_bootlang="it_CH"
if [ -z "${keyboard}" ]; then
def_keyboard="it"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Zurich"
fi

9
data/grub/locales/it_IT Normal file
View File

@@ -0,0 +1,9 @@
lang=it
bootlang="lang=it_IT"
def_bootlang="it_IT"
if [ -z "${keyboard}" ]; then
def_keyboard="it"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Rome"
fi

9
data/grub/locales/ja_JP Normal file
View File

@@ -0,0 +1,9 @@
lang=ja
bootlang="lang=ja_JP"
def_bootlang="ja_JP"
if [ -z "${keyboard}" ]; then
def_keyboard="jp"
fi
if [ -z "${timezone}" ]; then
def_timezone="Asia/Tokyo"
fi

View File

@@ -0,0 +1,6 @@
for kk in us ba be bg br by ca ch cz de dk es et fi fr uk gr hr hu ie il is it jp kr latam no pl pt ro ru se si sk sr tr ua; do
menuentry "keytable=${kk}" "${kk}" {def_keyboard="${2}"
keyboard="keytable=${2}"
menu_reload
}
done

9
data/grub/locales/ko_KR Normal file
View File

@@ -0,0 +1,9 @@
lang=ko
bootlang="lang=ko_KR"
def_bootlang="ko_KR"
if [ -z "${keyboard}" ]; then
def_keyboard="kr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Asia/Seoul"
fi

9
data/grub/locales/nb_NO Normal file
View File

@@ -0,0 +1,9 @@
lang=nb
bootlang="lang=nb_NO"
def_bootlang="nb_NO"
if [ -z "${keyboard}" ]; then
def_keyboard="no"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Oslo"
fi

9
data/grub/locales/nl_AW Normal file
View File

@@ -0,0 +1,9 @@
lang=nl
bootlang="lang=nl_AW"
def_bootlang="nl_AW"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Aruba"
fi

9
data/grub/locales/nl_BE Normal file
View File

@@ -0,0 +1,9 @@
lang=nl
bootlang="lang=nl_BE"
def_bootlang="nl_BE"
if [ -z "${keyboard}" ]; then
def_keyboard="be"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Brussels"
fi

9
data/grub/locales/nl_NL Normal file
View File

@@ -0,0 +1,9 @@
lang=nl
bootlang="lang=nl_NL"
def_bootlang="nl_NL"
if [ -z "${keyboard}" ]; then
def_keyboard="us"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Amsterdam"
fi

9
data/grub/locales/nn_NO Normal file
View File

@@ -0,0 +1,9 @@
lang=nn
bootlang="lang=nn_NO"
def_bootlang="nn_NO"
if [ -z "${keyboard}" ]; then
def_keyboard="no"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Oslo"
fi

9
data/grub/locales/pl_PL Normal file
View File

@@ -0,0 +1,9 @@
lang=pl
bootlang="lang=pl_PL"
def_bootlang="pl_PL"
if [ -z "${keyboard}" ]; then
def_keyboard="pl"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Warsaw"
fi

9
data/grub/locales/pt_BR Normal file
View File

@@ -0,0 +1,9 @@
lang=pt
bootlang="lang=pt_BR"
def_bootlang="pt_BR"
if [ -z "${keyboard}" ]; then
def_keyboard="br"
fi
if [ -z "${timezone}" ]; then
def_timezone="America/Sao_Paulo"
fi

9
data/grub/locales/pt_PT Normal file
View File

@@ -0,0 +1,9 @@
lang=pt
bootlang="lang=pt_PT"
def_bootlang="pt_PT"
if [ -z "${keyboard}" ]; then
def_keyboard="pt"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Lisbon"
fi

9
data/grub/locales/ro_RO Normal file
View File

@@ -0,0 +1,9 @@
lang=ro
bootlang="lang=ro_RO"
def_bootlang="ro_RO"
if [ -z "${keyboard}" ]; then
def_keyboard="ro"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Bucharest"
fi

9
data/grub/locales/ru_RU Normal file
View File

@@ -0,0 +1,9 @@
lang=ru
bootlang="lang=ru_RU"
def_bootlang="ru_RU"
if [ -z "${keyboard}" ]; then
def_keyboard="ru"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Moscow"
fi

9
data/grub/locales/ru_UA Normal file
View File

@@ -0,0 +1,9 @@
lang=ru
bootlang="lang=ru_UA"
def_bootlang="ru_UA"
if [ -z "${keyboard}" ]; then
def_keyboard="ru"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Kiev"
fi

9
data/grub/locales/se_FI Normal file
View File

@@ -0,0 +1,9 @@
lang=se
bootlang="lang=se_FI"
def_bootlang="se_FI"
if [ -z "${keyboard}" ]; then
def_keyboard="fi"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Helsinki"
fi

9
data/grub/locales/se_NO Normal file
View File

@@ -0,0 +1,9 @@
lang=se
bootlang="lang=se_NO"
def_bootlang="se_NO"
if [ -z "${keyboard}" ]; then
def_keyboard="no"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Oslo"
fi

9
data/grub/locales/se_SE Normal file
View File

@@ -0,0 +1,9 @@
lang=se
bootlang="lang=se_SE"
def_bootlang="se_SE"
if [ -z "${keyboard}" ]; then
def_keyboard="se"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Stockholm"
fi

9
data/grub/locales/sk_SK Normal file
View File

@@ -0,0 +1,9 @@
lang=sk
bootlang="lang=sk_SK"
def_bootlang="sk_SK"
if [ -z "${keyboard}" ]; then
def_keyboard="sk"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Bratislava"
fi

9
data/grub/locales/sl_SI Normal file
View File

@@ -0,0 +1,9 @@
lang=sl
bootlang="lang=sl_SI"
def_bootlang="sl_SI"
if [ -z "${keyboard}" ]; then
def_keyboard="si"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Ljubljana"
fi

9
data/grub/locales/sr_RS Normal file
View File

@@ -0,0 +1,9 @@
lang=sr
bootlang="lang=sr_RS"
def_bootlang="sr_RS"
if [ -z "${keyboard}" ]; then
def_keyboard="sr"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Belgrade"
fi

9
data/grub/locales/sv_FI Normal file
View File

@@ -0,0 +1,9 @@
lang=sv
bootlang="lang=sv_FI"
def_bootlang="sv_FI"
if [ -z "${keyboard}" ]; then
def_keyboard="se"
fi
if [ -z "${timezone}" ]; then
def_timezone="Europe/Helsinki"
fi

Some files were not shown because too many files have changed in this diff Show More