forked from mirrored-repos/manjaro-tools
[util-iso-calamares] source kernel preset
This commit is contained in:
parent
95e441a046
commit
5bf813c78d
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ configure_calamares(){
|
||||||
configure_thus(){
|
configure_thus(){
|
||||||
if [[ -f $1/usr/bin/thus ]];then
|
if [[ -f $1/usr/bin/thus ]];then
|
||||||
msg2 "Configuring Thus ..."
|
msg2 "Configuring Thus ..."
|
||||||
|
source "$1/etc/mkinitcpio.d/${kernel}.preset"
|
||||||
local conf="$1/etc/thus.conf"
|
local conf="$1/etc/thus.conf"
|
||||||
echo "[distribution]" > "$conf"
|
echo "[distribution]" > "$conf"
|
||||||
echo "DISTRIBUTION_NAME = \"${dist_name} Linux\"" >> "$conf"
|
echo "DISTRIBUTION_NAME = \"${dist_name} Linux\"" >> "$conf"
|
||||||
|
|
Loading…
Reference in a new issue