Compare commits
No commits in common. "1f38fc20f7ee5a4b259721198b7d1775959a5f72" and "579067d5d6a1915bf177b5b277b9c1b63a8682ba" have entirely different histories.
1f38fc20f7
...
579067d5d6
4 changed files with 0 additions and 73 deletions
|
@ -1,17 +0,0 @@
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
job:
|
|
||||||
container:
|
|
||||||
image: ${{vars.DOCKER}}debian:bookworm
|
|
||||||
steps:
|
|
||||||
- name: spcd
|
|
||||||
env:
|
|
||||||
SPCD: ${{vars.SPCD}}
|
|
||||||
SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}}
|
|
||||||
SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}}
|
|
||||||
SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}}
|
|
||||||
run: ${{vars.SPCD}}
|
|
||||||
|
|
||||||
- run: spcd-build-project
|
|
||||||
- run: spcd-browse-workspace
|
|
||||||
- run: spcd-synchronize
|
|
11
build.py
11
build.py
|
@ -1,11 +0,0 @@
|
||||||
#! /usr/bin/env python3
|
|
||||||
"""Dummy build."""
|
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
from rwx.fs import make_directory, write
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
out = Path(__file__).parent / "out" / "web"
|
|
||||||
make_directory(out)
|
|
||||||
write(out / "index.html", "lsgm.rwx.work")
|
|
|
@ -9,8 +9,5 @@ menu_split
|
||||||
menuentry 'bash / latest / tui' --id 'lt' { debsquash '/w/boot/bash/latest/tui' }
|
menuentry 'bash / latest / tui' --id 'lt' { debsquash '/w/boot/bash/latest/tui' }
|
||||||
menuentry 'bash / latest / gui' --id 'lg' { debsquash '/w/boot/bash/latest/gui' }
|
menuentry 'bash / latest / gui' --id 'lg' { debsquash '/w/boot/bash/latest/gui' }
|
||||||
menu_split
|
menu_split
|
||||||
menuentry 'ubuntu / stable' { ubusquash '/w/boot/ubuntu/stable' }
|
|
||||||
menuentry 'ubuntu / latest' { ubusquash '/w/boot/ubuntu/latest' }
|
|
||||||
menu_split
|
|
||||||
menuentry 'alma / stable' { almsquash '/w/boot/alma/stable' }
|
menuentry 'alma / stable' { almsquash '/w/boot/alma/stable' }
|
||||||
menuentry 'alma / latest' { almsquash '/w/boot/alma/latest' }
|
menuentry 'alma / latest' { almsquash '/w/boot/alma/latest' }
|
||||||
|
|
|
@ -84,45 +84,3 @@ live-media-uuid="${data_uuid}" \
|
||||||
echo "${initrd_path}"
|
echo "${initrd_path}"
|
||||||
initrd "${initrd_path}"
|
initrd "${initrd_path}"
|
||||||
}
|
}
|
||||||
function ubusquash {
|
|
||||||
lmp="${1}"
|
|
||||||
sfs="filesystem.squashfs"
|
|
||||||
#
|
|
||||||
if [ "${check_squashfs}" == 'enforce' ] ; then
|
|
||||||
chk="(${data})${lmp}/${sfs}"
|
|
||||||
echo 'verify_detached'
|
|
||||||
echo "${chk}"
|
|
||||||
if ! verify_detached "${chk}" "${chk}.sig" ; then
|
|
||||||
grub_pause
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [ -f "(${data})${lmp}/vmlinuz" ] ; then
|
|
||||||
linux_path="(${data})${lmp}/vmlinuz"
|
|
||||||
initrd_path="(${data})${lmp}/initrd.img"
|
|
||||||
else
|
|
||||||
linux_path="(squash)/vmlinuz"
|
|
||||||
initrd_path="(squash)/initrd.img"
|
|
||||||
loopback "squash" "${lmp}/${sfs}"
|
|
||||||
fi
|
|
||||||
#
|
|
||||||
echo
|
|
||||||
echo 'linux'
|
|
||||||
echo "${linux_path}"
|
|
||||||
toram='toram'
|
|
||||||
if [ "${live_from}" == 'ram' ] ; then
|
|
||||||
toram="${toram}=${sfs}"
|
|
||||||
fi
|
|
||||||
linux \
|
|
||||||
"${linux_path}" \
|
|
||||||
boot="live" \
|
|
||||||
elevator="deadline" \
|
|
||||||
live-media-path="${lmp}" \
|
|
||||||
live-media-uuid="${data_uuid}" \
|
|
||||||
"${toram}"
|
|
||||||
#
|
|
||||||
echo
|
|
||||||
echo 'initrd'
|
|
||||||
echo "${initrd_path}"
|
|
||||||
initrd "${initrd_path}"
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue