Merge pull request #1958 from dbungert/ubuntu-desktop-bootstrap
fix a few bootstrap renames
This commit is contained in:
commit
72bac06005
|
@ -15,6 +15,9 @@ if [ -d "/snap/subiquity" ] ; then
|
|||
elif [ -d "/snap/ubuntu-desktop-installer" ] ; then
|
||||
SNAPNAME=ubuntu-desktop-installer
|
||||
INTERMEDIATE=bin/subiquity
|
||||
elif [ -d "/snap/ubuntu-desktop-bootstrap" ] ; then
|
||||
SNAPNAME=ubuntu-desktop-bootstrap
|
||||
INTERMEDIATE=bin/subiquity
|
||||
else
|
||||
echo "subiquity-like snap not found"
|
||||
exit 1
|
||||
|
|
|
@ -351,8 +351,8 @@ def build(ctx):
|
|||
assert_exists(snap)
|
||||
livefs_edit(ctx, '--add-snap-from-store', 'core20', 'stable',
|
||||
'--inject-snap', snap)
|
||||
elif project == 'ubuntu-desktop-installer':
|
||||
with snap_manager('udi_test.snap') as snap:
|
||||
elif project == 'ubuntu-desktop-bootstrap':
|
||||
with snap_manager('udb_test.snap') as snap:
|
||||
run('snapcraft clean --use-lxd')
|
||||
run(f'snapcraft pack --use-lxd --output {snap} {snapargs}')
|
||||
assert_exists(snap)
|
||||
|
|
|
@ -212,8 +212,8 @@ def main():
|
|||
server.note_file_for_apport("InstallerServerLog", logfiles["debug"])
|
||||
server.note_file_for_apport("InstallerServerLogInfo", logfiles["info"])
|
||||
server.note_file_for_apport(
|
||||
"UdiLog",
|
||||
os.path.realpath("/var/log/installer/ubuntu_desktop_installer.log"),
|
||||
"BootstrapLog",
|
||||
os.path.realpath("/var/log/installer/ubuntu_bootstrap.log"),
|
||||
)
|
||||
await server.run()
|
||||
|
||||
|
|
Loading…
Reference in New Issue