Skip to content

Need help to add Tsurugi linux #149

@esp13

Description

@esp13

Hi,

I'm trying to add tsurugi linux https://tsurugi-linux.org/downloads.php to glim iso menu entry but I am stuck.
I am beginning with acquire live 2021.1
Tsurugi linux seems to be based on ubuntu (not sure about the acquire version) https://tsurugi-linux.org/documentation_tsurugi_linux_1.php
I have set this in inc-tsurugi.cfg:


# Tsurugi
function add_menu {
  isofile="$1"
  linuxparams="$2"

  regexp \
    --set 1:isoname \
    --set 2:variant \
    --set 3:version \
    "^${isopath}/(tsurugi_([^-]+)_([^-]+)\.iso)\$" "${isofile}"
  menuentry "Tsurugi ${variant} ${version} ${linuxparams}" "${isofile}" "${isoname}" --class tsurugi {
    set isofile=$2
    set isoname=$3
    use "${isoname}"
    loop $isofile
    linux (loop)/live/vmlinuz boot=live username=root quiet findiso=${isofile} toram=filesystem.squashfs
    initrd (loop)/live/initrd.img
  }
}

for_each_sorted add_menu "$isopath"/tsurugi_*.iso

It detect the iso, the variant, the version.
But when it launch, it get stuck and don't go further. Can you help me finish this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions