calamres ver. bump

This commit is contained in:
Rmys
2026-05-18 17:01:48 +03:00
parent 882e61e573
commit b763fc30a4
12 changed files with 1362 additions and 6 deletions
+9 -3
View File
@@ -10,10 +10,13 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("""sed -i 's|Fancy GNU/Linux 2020.2 LTS "Turgid Tuba"|Pisi GNU/Linux 2.4.3 LTS "Pisi Linux"|g' src/branding/default/branding.desc""")
shelltools.system("sed -i 's|2020.2|2.4.3|g' src/branding/default/branding.desc")
shelltools.system("""sed -i 's|Fancy GNU/Linux 2023.3 LTS "Venomous Vole"|Pisi GNU/Linux 2.4.3 LTS "Pisi Linux"|g' src/branding/default/branding.desc""")
shelltools.system("sed -i 's|2023.3|2.4.3|g' src/branding/default/branding.desc")
shelltools.system("sed -i 's|FancyGL|Pisilinux|g' src/branding/default/branding.desc")
shelltools.system("sed -i 's|backend: dummy|backend: pisi|g' src/modules/packages/packages.conf")
shelltools.system("sed -i 's|systemctl -i reboot|shutdown -r now|g' src/modules/finished/finished.conf")
shelltools.makedirs("build")
shelltools.cd("build")
@@ -27,7 +30,8 @@ def setup():
-DWITH_KF5DBus=OFF \
-DWITH_CRASHREPORTER=ON", \
sourceDir=".." )
# -DSKIP_MODULES='bootldr bootloader license mnt notesqml oemid preservefiles partitionq' \
def build():
shelltools.cd("build")
@@ -44,6 +48,8 @@ def install():
pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "systemd: true", "systemd: false")
pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "symlink: true", "symlink: false")
pisitools.dosed("%s/usr/share/calamares/modules/removeuser.conf" % get.installDIR(), "username: live", "username: pisi")
pisitools.dosym("/usr/share/icons/hicolor/scalable/apps/calamares.svg", "/usr/share/pixmaps/calamares.svg")