|
|
@ -134,7 +134,8 @@ def _main (cfgfile, config, type_client):
|
|
|
|
_debootstrap (btrootfsimg, btrootfsmnt, osarch, oscodename, oshttp)
|
|
|
|
_debootstrap (btrootfsimg, btrootfsmnt, osarch, oscodename, oshttp)
|
|
|
|
|
|
|
|
|
|
|
|
logger.info ('STAGE 2 - copy files to the rootfs')
|
|
|
|
logger.info ('STAGE 2 - copy files to the rootfs')
|
|
|
|
_initramfs_version (gitrelease, osrelease, curdir)
|
|
|
|
today = datetime.datetime.now(datetime.timezone.utc).strftime ('%Y%m%d')
|
|
|
|
|
|
|
|
_initramfs_version (gitrelease+'_'+today, osrelease, curdir)
|
|
|
|
_copy_og_files (btrootfsimg, btrootfsmnt, osdistrib, oscodename)
|
|
|
|
_copy_og_files (btrootfsimg, btrootfsmnt, osdistrib, oscodename)
|
|
|
|
|
|
|
|
|
|
|
|
logger.info ('STAGE 3 - perform tasks within the chroot')
|
|
|
|
logger.info ('STAGE 3 - perform tasks within the chroot')
|
|
|
@ -144,7 +145,6 @@ def _main (cfgfile, config, type_client):
|
|
|
|
|
|
|
|
|
|
|
|
logger.info ('STAGE 4 - generate distribution files')
|
|
|
|
logger.info ('STAGE 4 - generate distribution files')
|
|
|
|
pxepkg = _get_pxepkg()
|
|
|
|
pxepkg = _get_pxepkg()
|
|
|
|
today = datetime.datetime.now(datetime.timezone.utc).strftime ('%Y%m%d')
|
|
|
|
|
|
|
|
nameisoclient = '-'.join (['ogLive', oscodename, osrelease, osarch, gitrelease+'_'+today])
|
|
|
|
nameisoclient = '-'.join (['ogLive', oscodename, osrelease, osarch, gitrelease+'_'+today])
|
|
|
|
_mkinitrd_squashfs_isofs (bttargetdir, osrelease, btrootfsimg, btrootfsmnt, pxepkg, isolinux_tpl, nameisoclient)
|
|
|
|
_mkinitrd_squashfs_isofs (bttargetdir, osrelease, btrootfsimg, btrootfsmnt, pxepkg, isolinux_tpl, nameisoclient)
|
|
|
|
|
|
|
|
|
|
|
|