Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
manuel | 9f5889764f | |
manuel | ab713b917c | |
manuel | c710af26b6 | |
oddlama | 039d1a8b35 |
|
@ -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/vmlinuz-<kver> "$kernel"`
|
5. Copy new kernel `cp /boot/kernel-<kver> "$kernel"` (for systemd) or `cp /boot/vmlinuz-<kver> "$kernel"` (for openrc)
|
||||||
|
|
||||||
## Recommendations
|
## Recommendations
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ while [[ $# -gt 0 ]]; do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
check_wanted_programs dialog ncurses=ncursesw6-config
|
check_wanted_programs dialog libncurses-dev=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 "Europe/London"
|
echo "Atlantic/Azores"
|
||||||
else
|
else
|
||||||
echo "$timezone"
|
echo "$timezone"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -188,8 +188,7 @@ function disk_configuration() {
|
||||||
HOSTNAME="gentoo"
|
HOSTNAME="gentoo"
|
||||||
|
|
||||||
# The timezone for the new system
|
# The timezone for the new system
|
||||||
TIMEZONE="Europe/London"
|
TIMEZONE="Atlantic/Azores"
|
||||||
#TIMEZONE="Europe/Berlin"
|
|
||||||
|
|
||||||
# The default keymap for the system
|
# The default keymap for the system
|
||||||
KEYMAP="us"
|
KEYMAP="us"
|
||||||
|
@ -208,13 +207,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 German system you could use:
|
# For a PT system you could use:
|
||||||
# LOCALES="
|
# LOCALES="
|
||||||
# de_DE.UTF-8 UTF-8
|
# pt_PT.UTF-8 UTF-8
|
||||||
# de_DE ISO-8859-1
|
# pt_PT ISO-8859-1
|
||||||
# de_DE@euro ISO-8859-15
|
# pt_PT@euro ISO-8859-15
|
||||||
# " # End of LOCALES
|
# " # End of LOCALES
|
||||||
# LOCALE="de_DE.UTF-8"
|
# LOCALE="pt_PT.UTF-8"
|
||||||
|
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
|
|
Loading…
Reference in New Issue