refs #2814 fix small things

pull/29/head
Natalia Serrano 2025-09-24 10:55:37 +02:00
parent edf0769c87
commit 286896b800
1 changed files with 1 additions and 2 deletions

View File

@ -70,7 +70,7 @@ def _debootstrap (btrootfsimg, btrootfsmnt, osarch, oscodename, oshttp):
sys.exit (1)
utils.umount (btrootfsmnt)
def _initramfs_version (gitrelease, osrelease, cur_dir):
def _initramfs_version (gitrelease, osrelease, curdir):
utils.run (['sed', '-i', f'1 s/$/ {gitrelease} ({osrelease})/', f'{curdir}/includes/etc/initramfs-tools/scripts/VERSION.txt'])
def _copy_og_files (btrootfsimg, btrootfsmnt, osdistrib, oscodename):
@ -150,7 +150,6 @@ def _main (cfgfile, config, type_client):
_mkinitrd_squashfs_isofs (bttargetdir, osrelease, btrootfsimg, btrootfsmnt, pxepkg, isolinux_tpl, nameisoclient)
logger.info ('OpenGnsys installation finished')
logger.info ('OpenGnsys installation finished')
if __name__ == '__main__':