Compare commits
No commits in common. "syboxez/chroot-indicator-file" and "dev" have entirely different histories.
syboxez/ch
...
dev
1 changed files with 0 additions and 13 deletions
|
@ -48,19 +48,6 @@ class BaseChroot(Chroot):
|
|||
)
|
||||
if result.returncode != 0:
|
||||
raise Exception(f'Failed to initialize chroot "{self.name}"')
|
||||
|
||||
# This indicator is used to prevent boot-deploy from flashing aboot.img after creation
|
||||
logging.info('Creating chroot indicator file')
|
||||
|
||||
result = run_root_cmd(
|
||||
[
|
||||
'touch',
|
||||
f'{self.path}/in-kupferbootstrap',
|
||||
],
|
||||
stderr=sys.stdout,
|
||||
)
|
||||
if result.returncode != 0:
|
||||
raise Exception('Failed to create chroot indicator file')
|
||||
self.initialized = True
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue