forked from mirrored-repos/manjaro-tools
Provide vmlinuz, initramfs and fallback for thus configuration.
This commit is contained in:
parent
b89cf8cc55
commit
c778a19367
1 changed files with 4 additions and 1 deletions
|
@ -156,7 +156,10 @@ configure_thus(){
|
|||
echo "LIVE_MEDIA_DESKTOP = \"/bootmnt/${iso_name}/${arch}/${custom}-image.sqfs\"" >> "$conf"
|
||||
echo "LIVE_MEDIA_TYPE = \"squashfs\"" >> "$conf"
|
||||
echo "LIVE_USER_NAME = \"${username}\"" >> "$conf"
|
||||
echo "KERNEL = \"${kernel}\"" >> "$conf"
|
||||
echo "KERNEL = ${kernel}" >> "$conf"
|
||||
echo "VMLINUZ = \"$(echo ${ALL_kver} | sed s'|/boot||')\"" >> "$conf"
|
||||
echo "INITRAMFS = \"$(echo ${default_image} | sed s'|/boot||')\"" >> "$conf"
|
||||
echo "FALLBACK = \"$(echo ${fallback_image} | sed s'|/boot||')\"" >> "$conf"
|
||||
mkdir -p $1/home/${username}/Desktop
|
||||
if [[ -f $1/usr/bin/kdesu ]];then
|
||||
sed -i -e 's|sudo|kdesu|g' $1/usr/share/applications/thus.desktop
|
||||
|
|
Loading…
Reference in a new issue