core-agent-linux/misc
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
..
.gitignore dispvm: close all windows after apps prerun (#872) 2014-07-04 18:51:02 +02:00
20_org.gnome.desktop.wm.preferences.qubes.gschema.override Remove duplicated 'close' button from titlebar of gnome applications 2017-05-20 14:44:04 +02:00
20_org.gnome.nautilus.qubes.gschema.override Apply gschema overrides also to debian, rename according to guidelines 2017-05-20 13:47:05 +02:00
20_org.gnome.settings-daemon.plugins.updates.qubes.gschema.override Apply gschema overrides also to debian, rename according to guidelines 2017-05-20 13:47:05 +02:00
20_org.mate.NotificationDaemon.qubes.gschema.override Apply gschema overrides also to debian, rename according to guidelines 2017-05-20 13:47:05 +02:00
20_tcp_timestamps.conf disable leaking TCP timestamps by default 2015-10-19 14:03:57 +00:00
30_cron.conf use bind-dirs to handle crontab persistence 2016-10-16 01:14:02 +01:00
50_qubes.conf Prevent services from being accidentally restarted by needrestart. 2015-11-20 16:35:06 +01:00
block-snapshot Hint shellcheck where to look for sourced files, if in repository 2017-09-30 05:05:34 +02:00
close-window.c dispvm: close only visible windows during DispVM preparation 2015-03-04 01:48:11 +01:00
dnf-qubes-hooks.conf Implement dnf hooks for post-update actions 2015-11-11 02:36:57 +01:00
dnf-qubes-hooks.py dnf-qubes-hooks: handle newer DNF >= 2.x 2017-09-24 12:33:30 +02:00
dracut-qubes.conf dracut: disable hostonly mode 2015-11-10 16:36:00 +01:00
fstab Enlarge /tmp and /dev/shm 2015-10-04 23:07:10 +02:00
grub.qubes grub: add console=tty0 to kernel cmdline 2017-07-05 12:52:43 +02:00
Makefile Rename qubes.xdg python module to qubesxdg 2016-08-17 21:27:28 +02:00
mime-globs vm-file-editor: add override for mimeinfo *.png entry (#753) 2013-11-14 22:21:17 +01:00
pam.d_su.qubes Fixed /etc/pam.d/su.qubes. (Moved line 'auth sufficient pam_permit.so' up. May not be low '@include' lines.) 2015-09-13 18:36:18 +00:00
polkit-1-qubes-allow-all.pkla vm: move polkit configs from qubes-gui-vm package 2013-02-12 01:38:29 +01:00
polkit-1-qubes-allow-all.rules vm: move polkit configs from qubes-gui-vm package 2013-02-12 01:38:29 +01:00
profile.d_qt_x11_no_mitshm.sh debian: don't generate regular conf files in postinst 2015-02-05 01:22:19 +01:00
qubes-archive-keyring.gpg Ship Qubes 4.0 repository definition and keys 2017-06-14 10:45:43 +02:00
qubes-desktop-run Rename qubes.xdg python module to qubesxdg 2016-08-17 21:27:28 +02:00
qubes-download-dom0-updates.sh Fix shellcheck warnings in download-dom0-updates.sh 2017-09-30 05:05:33 +02:00
qubes-master-key.asc Include Qubes Master Key in the VM template 2016-07-17 04:26:01 +02:00
qubes-r4.list.in Ship Qubes 4.0 repository definition and keys 2017-06-14 10:45:43 +02:00
qubes-r4.repo Ship Qubes 4.0 repository definition and keys 2017-06-14 10:45:43 +02:00
qubes-serial-login Few more shellcheck warnings fixes/ignores 2017-09-30 05:05:34 +02:00
qubes-session-autostart Rename qubes.xdg python module to qubesxdg 2016-08-17 21:27:28 +02:00
qubes-suspend-module-blacklist Unload USB controllers drivers in USB VM before going to sleep 2016-01-11 19:34:10 +01:00
qubes-trigger-sync-appmenus.action The Underscores Revolution: filenames 2013-03-14 01:07:49 +01:00
qubes-trigger-sync-appmenus.sh Hint shellcheck where to look for sourced files, if in repository 2017-09-30 05:05:34 +02:00
qubes.sudoers Update Xen bug count in sudoers comment 2016-12-04 16:29:01 -08:00
qubesxdg.py Rename qubes.xdg python module to qubesxdg 2016-08-17 21:27:28 +02:00
qvm-features-request misc: add qvm-features-request 2016-06-13 14:19:00 +02:00
resize-rootfs Add support for new root volume partition layout to qubes.ResizeDisk 2017-10-18 19:53:48 +02:00
RPM-GPG-KEY-qubes-4-centos centos: add package signing key, setup repository 2017-09-30 02:06:53 +02:00
RPM-GPG-KEY-qubes-4-primary Ship Qubes 4.0 repository definition and keys 2017-06-14 10:45:43 +02:00
RPM-GPG-KEY-qubes-4-unstable Ship Qubes 4.0 repository definition and keys 2017-06-14 10:45:43 +02:00
serial.conf fedora: update spec and serial.conf to match /usr/sbin path 2013-08-14 03:53:40 +02:00
session-stop-timeout.conf fedora: workaround slow system shutdown (#852) 2014-09-24 14:17:24 +02:00
sudoers.d_qt_x11_no_mitshm debian: don't generate regular conf files in postinst 2015-02-05 01:22:19 +01:00
sudoers.d_umask debian: don't generate regular conf files in postinst 2015-02-05 01:22:19 +01:00
udev-qubes-misc.rules Remove 'xen.evtchn' udev rule 2015-02-11 08:02:55 -05:00
upgrades-installed-check Simplify archlinux upgrade check 2017-10-06 15:01:57 +03:00
upgrades-status-notify Improved upgrade notifications sent to QVMM. 2015-11-11 15:45:00 +00:00
xenstore-watch.c Use xenstore.h instead of xs.h 2014-11-19 15:34:34 +01:00
xorg-preload-apps.conf removed trailing spaces 2015-10-15 04:34:55 +02:00
yum-qubes-hooks.conf vm: enable yum-qubes-hooks plugin (#592) 2012-06-11 22:35:44 +02:00
yum-qubes-hooks.py removed trailing spaces 2015-10-15 04:34:55 +02:00