mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
use cwd attribute rather than os.chdir()
This commit is contained in:
parent
31f4ef41fd
commit
255164c664
1 changed files with 1 additions and 2 deletions
|
|
@ -239,8 +239,7 @@ print(shutil.which('chroot'))
|
||||||
arch = stage0_arch_map.get(args.arch, args.arch)
|
arch = stage0_arch_map.get(args.arch, args.arch)
|
||||||
init = os.path.join('bootstrap-seeds', 'POSIX', arch, 'kaem-optional-seed')
|
init = os.path.join('bootstrap-seeds', 'POSIX', arch, 'kaem-optional-seed')
|
||||||
|
|
||||||
os.chdir(system_a.tmp_dir)
|
run(init, cwd = system_a.tmp_dir)
|
||||||
run(init)
|
|
||||||
|
|
||||||
elif args.bare_metal:
|
elif args.bare_metal:
|
||||||
if args.kernel:
|
if args.kernel:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue