Go to file
Marek Marczykowski-Górecki d8a2b8c375
Add support for new root volume partition layout to qubes.ResizeDisk
If root filesystem is the last partition (new layout), resize it
in-place. Use 'parted' tool because it can resize just one partition,
without need to specify the whole new partition table. Since the
partition is mounted, parted is unhappy to modify it. Force it by
answering to its interactive prompts, and add (apparently not
documented) ---pretend-input-tty to use those answers even
though stdin is not a tty. Split the operation into multiple parted
calls, for more reliable interactive prompts handling.

Qubes 3.x disk layout (no partition table) is also supported, but the
one that was used in Qubes 4.0 rc1 (root filesystem as the first
partition) is not.

Fixes QubesOS/qubes-issues#3173
QubesOS/qubes-issues#3143
2017-10-18 19:53:48 +02:00
archlinux Merge remote-tracking branch 'qubesos/pr/56' 2017-10-03 03:21:55 +02:00
autostart-dropins Merge branch 'autostart-dropins' 2015-09-02 01:16:19 +02:00
ci tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
debian Add support for new root volume partition layout to qubes.ResizeDisk 2017-10-18 19:53:48 +02:00
doc qrexec: fix reporting exit code in qrexec-client-vm 2017-06-21 11:21:40 +02:00
init Hint shellcheck where to look for sourced files, if in repository 2017-09-30 05:05:34 +02:00
misc Add support for new root volume partition layout to qubes.ResizeDisk 2017-10-18 19:53:48 +02:00
network network: fix issues found by shellcheck 2017-09-30 04:43:04 +02:00
patches.debian Stop anacron from starting in Debian using existing constraint on cron 2017-02-05 23:36:27 +00:00
pkgs archlinux: created build scripts 2013-04-17 01:22:32 +02:00
post-install.d Announce if qubes-firewall service is supported+enabled in this template 2017-07-16 11:09:14 +02:00
qrexec qrexec: use user shell instead of hardcoded /bin/sh 2017-10-02 05:14:50 +02:00
qubes-rpc Add support for new root volume partition layout to qubes.ResizeDisk 2017-10-18 19:53:48 +02:00
qubesagent tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
rpm_spec Add support for new root volume partition layout to qubes.ResizeDisk 2017-10-18 19:53:48 +02:00
test-packages tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
vm-init.d Hint shellcheck where to look for sourced files, if in repository 2017-09-30 05:05:34 +02:00
vm-systemd Hint shellcheck where to look for sourced files, if in repository 2017-09-30 05:05:34 +02:00
.coveragerc tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
.gitignore tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
.travis.yml travis: add shellcheck call for all scripts in the repository 2017-09-30 05:05:34 +02:00
debian-quilt debian: fix shellcheck warnings in debian packaging 2017-09-30 05:05:33 +02:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile Add support for new root volume partition layout to qubes.ResizeDisk 2017-10-18 19:53:48 +02:00
Makefile.builder Merge remote-tracking branch 'qubesos/pr/46' 2017-07-04 13:39:06 +02:00
run-tests tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
series-debian-vm.conf Stop anacron from starting in Debian using existing constraint on cron 2017-02-05 23:36:27 +00:00
setup.py network: rewrite qubes-firewall daemon 2016-09-12 05:22:53 +02:00
version version 4.0.11 2017-10-07 02:35:42 +02:00