mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-13 06:45:24 +01:00
Modernise the Github Actions workflow & test Python
- It now also tests the --early-preseed and --repo options implicitly. - Upgraded all actions to v4. - Test Python bootstrap separately.
This commit is contained in:
parent
c9fa9a00f4
commit
86bd8de815
3 changed files with 86 additions and 51 deletions
|
|
@ -220,13 +220,10 @@ print(shutil.which('chroot'))
|
|||
|
||||
elif args.bwrap:
|
||||
init = '/init'
|
||||
if not args.internal_ci or args.internal_ci == "pass1":
|
||||
generator.prepare(target, using_kernel=False)
|
||||
generator.prepare(target, using_kernel=False)
|
||||
|
||||
arch = stage0_arch_map.get(args.arch, args.arch)
|
||||
init = os.path.join(os.sep, 'bootstrap-seeds', 'POSIX', arch, 'kaem-optional-seed')
|
||||
else:
|
||||
generator.reuse(target)
|
||||
arch = stage0_arch_map.get(args.arch, args.arch)
|
||||
init = os.path.join(os.sep, 'bootstrap-seeds', 'POSIX', arch, 'kaem-optional-seed')
|
||||
|
||||
run('env', '-i', 'bwrap', '--unshare-user',
|
||||
'--uid', '0',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue