Compare commits
No commits in common. "main" and "develop" have entirely different histories.
|
@ -121,7 +121,7 @@ In both cases, the update procedure is as follows:
|
||||||
2. `eselect kernel set <kver>`
|
2. `eselect kernel set <kver>`
|
||||||
3. Backup old kernel and initramfs (`mv "$kernel"{,.bak}`, `mv "$initrd"{,.bak}`)
|
3. Backup old kernel and initramfs (`mv "$kernel"{,.bak}`, `mv "$initrd"{,.bak}`)
|
||||||
4. Generate new initramfs for this kernel `generate_initramfs.sh <kver> "$initrd"`
|
4. Generate new initramfs for this kernel `generate_initramfs.sh <kver> "$initrd"`
|
||||||
5. Copy new kernel `cp /boot/kernel-<kver> "$kernel"` (for systemd) or `cp /boot/vmlinuz-<kver> "$kernel"` (for openrc)
|
5. Copy new kernel `cp /boot/vmlinuz-<kver> "$kernel"`
|
||||||
|
|
||||||
## Recommendations
|
## Recommendations
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ while [[ $# -gt 0 ]]; do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
check_wanted_programs dialog libncurses-dev=ncursesw6-config
|
check_wanted_programs dialog ncurses=ncursesw6-config
|
||||||
|
|
||||||
# Determine whether EFI is available
|
# Determine whether EFI is available
|
||||||
HAS_EFI_SUPPORT=$([[ -d /sys/firmware/efi ]] && echo -n "true" || echo -n "false")
|
HAS_EFI_SUPPORT=$([[ -d /sys/firmware/efi ]] && echo -n "true" || echo -n "false")
|
||||||
|
@ -67,7 +67,7 @@ function get_timezone() {
|
||||||
timezone=${file#*zoneinfo/}
|
timezone=${file#*zoneinfo/}
|
||||||
if [[ $timezone == "$file" ]]; then
|
if [[ $timezone == "$file" ]]; then
|
||||||
# not pointing to expected location or not Region/City
|
# not pointing to expected location or not Region/City
|
||||||
echo "Atlantic/Azores"
|
echo "Europe/London"
|
||||||
else
|
else
|
||||||
echo "$timezone"
|
echo "$timezone"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -188,7 +188,8 @@ function disk_configuration() {
|
||||||
HOSTNAME="gentoo"
|
HOSTNAME="gentoo"
|
||||||
|
|
||||||
# The timezone for the new system
|
# The timezone for the new system
|
||||||
TIMEZONE="Atlantic/Azores"
|
TIMEZONE="Europe/London"
|
||||||
|
#TIMEZONE="Europe/Berlin"
|
||||||
|
|
||||||
# The default keymap for the system
|
# The default keymap for the system
|
||||||
KEYMAP="us"
|
KEYMAP="us"
|
||||||
|
@ -207,13 +208,13 @@ LOCALES=""
|
||||||
# list entries (e.g. .UTF-8 vs .utf8). See `locale -a` for all available locales.
|
# list entries (e.g. .UTF-8 vs .utf8). See `locale -a` for all available locales.
|
||||||
# Although `locale -a` lists the suffix in lower case without any hyphens, it is best to always use UTF-8 in preference to utf8.
|
# Although `locale -a` lists the suffix in lower case without any hyphens, it is best to always use UTF-8 in preference to utf8.
|
||||||
LOCALE="C.UTF-8"
|
LOCALE="C.UTF-8"
|
||||||
# For a PT system you could use:
|
# For a German system you could use:
|
||||||
# LOCALES="
|
# LOCALES="
|
||||||
# pt_PT.UTF-8 UTF-8
|
# de_DE.UTF-8 UTF-8
|
||||||
# pt_PT ISO-8859-1
|
# de_DE ISO-8859-1
|
||||||
# pt_PT@euro ISO-8859-15
|
# de_DE@euro ISO-8859-15
|
||||||
# " # End of LOCALES
|
# " # End of LOCALES
|
||||||
# LOCALE="pt_PT.UTF-8"
|
# LOCALE="de_DE.UTF-8"
|
||||||
|
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
|
|
Loading…
Reference in New Issue