Commit Graph

171 Commits

Author SHA1 Message Date
Dan Bungert db95d2f215 snapcraft: set contact field 2022-07-26 17:42:52 -06:00
Michael Hudson-Doyle d9ad8134e9
Merge pull request #1351 from mwhudson/ignore-running
Pass ignore-running: true when refreshing ourself
2022-07-15 12:41:18 +12:00
Michael Hudson-Doyle 942e5f5f1b set _ORIG variables in environment for 'subiquity' app
this so orig_environ works when connecting via SSH
2022-07-15 12:13:37 +12:00
Dan Bungert 7aec411396 curtin: update for gpt preservation fixes 2022-07-13 09:38:52 -06:00
Dan Bungert 8a668edf4e snapcraft: +ntfs-3g 2022-06-29 12:38:35 -06:00
Dan Bungert 74e118d735 snapcraft: save env vars 2022-06-13 14:02:19 -06:00
Dan Bungert 73853e5769 snapcraft: rev probert 2022-05-31 09:09:33 -06:00
Dan Bungert 89e51b468a snapcraft: update curtin 2022-05-09 14:26:01 -06:00
Dan Bungert ef39546a08 probert: update for raid fix 2022-05-06 08:44:20 -06:00
Olivier Gayot b6c68a40b3 curtin: pickup fix for HTTP proxy settings being discarded
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-04-29 10:51:19 +02:00
Dan Bungert 91440e6c4c snapcraft: newer curtin for resize support 2022-04-26 15:46:58 -06:00
Dan Bungert bd6647d6ec snapcraft: set source-code and issues fields 2022-04-14 14:02:21 -06:00
Dan Bungert 9829c14e6e probert: update for 'os' probe_type 2022-03-29 15:09:21 -06:00
Dan Bungert 4379f1b8d4 probert: update for python 3.10 fix (lp-1964571) 2022-03-15 15:15:53 -06:00
Heinrich Schuchardt f9ce537053 curtin: Add riscv64 to supported UEFI architectures
synchronize with https://git.launchpad.net/curtin

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-03-15 09:13:32 +01:00
Heinrich Schuchardt 1a5b96c5be Installing os-probe requires fakeroot
Building with --destructive-mode fails with error:

    dh install
       dh_testroot
    dh_testroot: error: You must run this as root (or use fakeroot).
    make: *** [debian/rules:6: install] Error 255

Use fakeroot for installation.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2022-03-14 15:25:29 +01:00
Dan Bungert 765c65b9bf curtin: rev for risc-v apt fix 2022-03-10 11:08:07 -07:00
Dan Bungert 5124762de4 probert: rev for os-prober, mdadm 2022-02-28 15:56:04 -07:00
Dan Bungert 9179777aa2 os-prober: use snapified source
Use my branch of os-prober which adds env variables for finding the lib
& share directories.  And set those env variables.
2022-02-28 15:56:04 -07:00
Dan Bungert 3b6f6024ae os-prober: build from a git
Build os-prober from a git repo instead of staging the focal version.
Point to my mirror of os-prober as salsa is currently down.
2022-02-28 15:00:25 -07:00
Michael Hudson-Doyle de4c2af81e snapcraft.yaml: remove bson from python-packages 2022-02-23 10:12:21 +13:00
Dan Bungert 4f012918f8 Revert probert again to remove os-prober usage
os-prober is leaving around invalid devices and we don't know what to do
about it yet, but we do know that we don't require os-prober for
20.04.4.  Back this out.  LP: #1961640 LP: #1961628
2022-02-22 13:31:14 -07:00
Dan Bungert 4927affbe8 snapcraft: better file selection for os-prober sed 2022-01-24 13:18:49 -07:00
Dan Bungert 54ca91038e snapcraft: show os-prober as available app 2022-01-24 12:37:48 -07:00
Dan Bungert 8318fc4617 Revert "os-prober: patch instead of sed"
This reverts commit 7bdeb6707c.
2022-01-24 12:18:41 -07:00
Olivier Gayot 1fce021585 Bump curtin version to fix APT preferences being discarded
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-01-21 10:07:16 +01:00
Dan Bungert f0907971ed
Merge pull request #1145 from dbungert/os-prober-snap
snapcraft: add os-prober
2022-01-20 12:34:09 -07:00
Dan Bungert 4a672e071e
Merge pull request #1158 from ogayot/bind-uac-into-subiquity-snap
Embed ubuntu-advantage-tools into Subiquity snap and use it
2022-01-13 13:01:03 -07:00
Olivier Gayot 6e0c9821fe snapcraft: pickup curtin's support for apt_preferences
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-01-13 09:32:42 +01:00
Dan Bungert 7bdeb6707c os-prober: patch instead of sed 2022-01-12 13:33:07 -07:00
Dan Bungert 6bf9b8f734 snapcraft: rev probert for os-prober 2022-01-11 14:34:08 -07:00
Dan Bungert 05c8c70483 snapcraft: +os-prober 2022-01-11 14:34:08 -07:00
Olivier Gayot 1995dd002a Add ubuntu-advantage-tools as stage-package
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-01-11 11:12:10 +01:00
Dan Bungert 90d764af36 probert: rollback to pre os-prober
Rollback the Probert version until os-prober is correctly present in the
Subiquity snap.
2021-12-08 16:18:36 -07:00
Dan Bungert 49c20f7894 probert: rev for os-prober 2021-12-07 11:46:28 -07:00
Dan Bungert c332d62e40
Merge pull request #1130 from dbungert/curtin-rev-lsblk
snapcraft: pickup curtin lsblk fix
2021-11-22 16:55:34 -07:00
Dan Bungert 00c4f0c0a3 snapcraft: pickup curtin lsblk fix 2021-11-19 16:02:40 -07:00
Dan Bungert cf199fbc4d snapcraft: remove python links from snap bin dir
The python links in the bin dir of the snap were resolving to system
python instead of the python binary found at usr/bin.  This appears to
be the root cause of why python scripts would fail to find their own
resources, such as ssh-import-id and lsb_release.
2021-11-19 15:50:14 -07:00
Michael Hudson-Doyle be57dc9da0 fix offline installs 2021-11-17 11:20:18 +13:00
Dan Bungert 5b425b2ea0 ssh: fix PYTHONPATH 2021-10-07 15:57:37 -06:00
Dan Bungert be158a375f snapcraft: environment and package fixes
* adjust environment to set PYTHONPATH to pick up site-packages
* add more required packages
* add script for subiquity-server, and set PYTHONPATH there,
  so that the PYTHONPATH takes effect
2021-10-01 13:59:10 -06:00
Michael Hudson-Doyle 8de369ece2 snapcraft: change base to core20 2021-10-01 13:29:31 -06:00
Michael Hudson-Doyle 288a7e23f4 update curtin 2021-08-24 11:45:15 +12:00
Michael Hudson-Doyle fbfbf67eb5 update curtin 2021-08-12 13:11:04 +12:00
Michael Hudson-Doyle 0bdb965444 update curtin 2021-08-11 10:34:22 +12:00
Michael Hudson-Doyle 31cceabba9 update curtin, you know the drill 2021-08-04 12:51:49 +12:00
Dan Bungert 9d3c156686 Update probert for bitlocker changes 2021-08-02 19:02:09 -06:00
Michael Hudson-Doyle e973b87b92 grab another 2 curtin commits 2021-08-03 12:30:23 +12:00
Michael Hudson-Doyle ae7af3ed4c update curtin to get raid, zipl config, unmounting fixes 2021-08-02 14:39:29 +12:00
Michael Hudson-Doyle c340c6db22 update curtin
this brings in the unmounting fix and lets PYTHON be set in the
environment to choose which python to use
2021-07-23 12:26:49 +12:00