Commit Graph

2946 Commits

Author SHA1 Message Date
Dimitri John Ledkov 0306ad2d56
Merge pull request #645 from xnox/more-series
Try adding eoan & focal again
2020-03-06 01:48:25 +00:00
Dimitri John Ledkov 897fe56213 Try overriding zfs-mount.service 2020-03-05 16:53:35 +00:00
Michael Hudson-Doyle 04e1034ae3
Merge pull request #629 from mwhudson/autoinstall-write-config
write autoinstall config at end of install
2020-03-05 16:34:53 +01:00
Michael Hudson-Doyle 9e602a0e90
Merge pull request #646 from mwhudson/ai-fs-config
a few autoinstall fixes
2020-03-05 16:34:12 +01:00
Dimitri John Ledkov 4793ac55e8 Merge remote-tracking branch 'origin/master' 2020-03-05 14:16:06 +00:00
Dimitri John Ledkov b3c265020b Update translations 2020-03-05 14:15:34 +00:00
Dimitri John Ledkov 5de53ad9dd
Merge pull request #648 from yarons/patch-1
Added localization link to the README
2020-03-05 13:43:12 +00:00
Yaron Shahrabani 63b07f9f7d
Updated link to the correct location
Sorry for that, I didn't notice the localization is managed inside the Ubuntu project.
2020-03-05 13:34:29 +02:00
Yaron Shahrabani 13d90f0a04
Added Localization platform link to README
Feel free to change the sentence, it's only an idea.
2020-03-05 13:20:02 +02:00
Dimitri John Ledkov 68a71d36d1 releasing package subiquity version 19.12.2+git106g3d9374ad 2020-03-05 09:51:29 +00:00
Michael Hudson-Doyle 40e0342342 properly set up default storage autoinstall in interactive case 2020-03-05 10:28:51 +01:00
Michael Hudson-Doyle 8cdb472f21 fix default storage autoinstall config 2020-03-05 10:28:51 +01:00
Michael Hudson-Doyle 51bffa8387 load mounts and don't set preserve=true when loading autoinstall config 2020-03-05 10:28:14 +01:00
Michael Hudson-Doyle da0f0bc70b fix some ssh bits 2020-03-05 10:27:19 +01:00
Dimitri John Ledkov 9a4a79c0c1 Try adding eoan & focal again 2020-03-05 09:23:20 +00:00
Dimitri John Ledkov 3d9374adaf
Merge pull request #633 from meskobalazs/patch-1
Typos in a localizable string
2020-03-05 09:08:12 +00:00
Michael Hudson-Doyle c3b3615d6f support explicit storage configs for autoinstall 2020-03-05 08:25:45 +01:00
Michael Hudson-Doyle 3722e9cef2 write autoinstall-user-data to live session /var/log/installer 2020-03-05 08:02:50 +01:00
Michael Hudson-Doyle 59cca21a11 write the autoinstall to something more user-data like 2020-03-04 16:25:42 +01:00
Michael Hudson-Doyle 163b81b0fc implement some make_autoinstall methods 2020-03-04 16:17:38 +01:00
Michael Hudson-Doyle 4ea4b750ad infrastructure for writing an autoinstall.yaml config file at the end of install 2020-03-04 16:17:38 +01:00
Michael Hudson-Doyle b002a4b496
Merge pull request #643 from mwhudson/cdl-not-ldl
format dasds with cdl not ldl
2020-03-04 16:13:31 +01:00
Michael Hudson-Doyle bd50b17f3c
Merge pull request #644 from mwhudson/moar-restarting
restart subiquity when snap refresh completes
2020-03-04 16:08:13 +01:00
Michael Hudson-Doyle 05dd8c3d48 restart subiquity when snap refresh completes
so that we restart even if systemd does not do it for us
2020-03-04 14:45:10 +01:00
Michael Hudson-Doyle 774fa7b7be format dasds with cdl not ldl 2020-03-04 14:00:11 +01:00
Michael Hudson-Doyle 32012389ca
Merge pull request #642 from mwhudson/dasd-fail
more dasd fixes
2020-03-04 12:34:53 +01:00
Michael Hudson-Doyle 9fbfbc5f71 fix tests 2020-03-04 12:33:00 +01:00
Michael Hudson-Doyle 998c3ef6a4 add Dasd.preserve and set it to False when necessary 2020-03-04 12:25:23 +01:00
Michael Hudson-Doyle 71edb65150 add a dasd() method to _Device 2020-03-04 12:25:02 +01:00
Michael Hudson-Doyle fc4d936248
Merge pull request #641 from mwhudson/dasd-fail
do not have Dasd model class inherit from _Device
2020-03-04 10:26:26 +01:00
Michael Hudson-Doyle c9ea65e4a8 do not have Dasd model class inherit from _Device
so they can actually be instantiated
2020-03-04 10:25:42 +01:00
Michael Hudson-Doyle 9e4986b67a
Merge pull request #640 from mwhudson/do-not-count-extended-partitions
do not count extended partition as using space
2020-02-29 21:03:54 +13:00
Michael Hudson-Doyle 8fc0a45536 do not count extended partition as using space
also show extended/logical partitoin state in ui
2020-02-29 07:46:28 +00:00
Michael Hudson-Doyle 4d3c578c19
Merge pull request #639 from mwhudson/vtoc
vtoc support
2020-02-29 03:06:04 +13:00
Michael Hudson-Doyle 3f519870ad use curtin's ubuntu/devel branch again
has the dasd stuff now
2020-02-28 13:50:15 +00:00
Michael Hudson-Doyle 04c296f5e6 fix tests 2020-02-27 21:59:15 +13:00
Dimitri John Ledkov ba180ff345 Drop disco, it is dead 2020-02-26 11:30:08 +00:00
Dimitri John Ledkov 81b313b078
Merge pull request #638 from bboozzoo/bboozzoo/console-conf-on-core
debian/console-conf.service: ensure correct order with respect to snapd services
2020-02-26 11:29:13 +00:00
Michael Hudson-Doyle be165d941c update to probert tip to get dasd goodness 2020-02-26 23:22:51 +13:00
Michael Hudson-Doyle 2b2df9a9ee pass type: dasd actions through and set disk_layout when needed 2020-02-26 13:23:56 +13:00
Michael Hudson-Doyle f690ed86c3 prevent adding more than three vtoc partitions 2020-02-26 13:23:56 +13:00
Michael Hudson-Doyle d01ecf4c2e have ptable_for_new_partition return vtoc when it should 2020-02-26 13:23:56 +13:00
Michael Hudson-Doyle 177da8315a Add method to determine partition type for a new partition
Display this information in a couple of places in the UI.
2020-02-26 13:23:56 +13:00
Ian Johnson 7696cf2112 debian/console-conf*.service: add core18 services as After deps
These are currently applied with hacks in the core18 repo when building the
core18 snap, but that was always meant to be a temporary thing until it was
upstreamed... here's the upstreaming.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2020-02-25 15:55:30 +01:00
Maciek Borzecki 3e14aa2ae5 debian/console-conf.*.service: run after snapd.recovery-chooser-trigger.service
On Core20 devices, the user may decice to invoke a recovery chooser by holding
down a specific key. Make sure that the recovery chooser trigger detection
service runs before, so that by the time console-conf runs, the trigger
detection window is closed and we may launch the chooser if needed.

Note, the patch only includes the bits for ensuring the correct order during
boot.

Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
2020-02-25 11:30:27 +01:00
Maciek Borzecki 06f528bb7f debian/console-conf.*.service: refactor the dependency on core.start-snapd.service
The service is named core.start-snapd.service in core20. Add a comment
explaining why we need this.

Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
2020-02-25 11:29:08 +01:00
Michael Vogt fc224aab0c services: run console-conf after core18.start-snapd.service
On core18 the firstboot seeding happens via the core18.start-snapd
service. This service will do the initial start of snapd when the
system is unseeded. This service will wait until the system is
fully seeded.

We cannot run console-conf before that because it uses the "snap"
command which will not be available before the system is seeded.

Once that has landed https://github.com/snapcore/core18/pull/74
can be reverted (in fact the hooks/200-console-conf-after.chroot
file can be removed entirely).
2020-02-25 11:05:09 +01:00
Michael Hudson-Doyle 30663c4ea7
Merge pull request #635 from mwhudson/orig-refactor
Refactor how we track what filesystem a volume originally had
2020-02-25 11:26:28 +13:00
Michael Hudson-Doyle 5c2baef761 Refactor how we track what filesystem a volume originally had
This makes things a bit more generic, because I am going to need to
track which partition table type a disk originally.

The special cases around swap are annoying.
2020-02-24 16:10:11 +13:00
Michael Hudson-Doyle 5cc407bfcd
Merge pull request #634 from mwhudson/report-ssh-import-id-failure
Report ssh import id failure
2020-02-24 14:00:06 +13:00