Nedyalko Andreev
c71609df19
Fix the previous shellcheck-related "fixes" again
...
(cherry picked from commit 8c06c1eabd8f36d307f5956b5fea8d3bbcbb317f)
2017-10-03 03:21:01 +02:00
Nedyalko Andreev
42676bafb8
Fix the install script after the shellcheck "fixes"
...
(cherry picked from commit 6d28d4dfaf0632477321248cdb07b31fcb31ffb2)
2017-10-03 03:21:00 +02:00
Nedyalko Andreev
74ce135461
Fix indentation and shellcheck issues for archlinux
...
(cherry picked from commit 60ee036f04d5f22d1a3a694586f219f5b6ce30a1)
2017-10-03 03:20:55 +02:00
Nedyalko Andreev
ace824d505
Disable Oliver's binary pacman repo by default
...
Currently building the package fails with an error 'qubes-r3.2: key "2043E7ACC1833B9C" is unknown'.
This also harmonizes the code with the current documentation: https://www.qubes-os.org/doc/templates/archlinux/#binary-packages-activation
(cherry picked from commit 5662d7e5fe7f5236a2623f725b7e0f908d26631f)
2017-10-03 03:18:37 +02:00
Nedyalko Andreev
0705b6c898
Fix the archlinux package, use correct DROPIN dirs
...
Without this change the package builds successfully but there is a
file conflict error when installing it.
(cherry picked from commit 4f26267796fa856d1e3a2883494b7cc09221b2e9)
2017-10-03 03:18:36 +02:00
Jussi Timperi
6a22519c62
archlinux: add correct section to qubes-noupgrade.conf
...
Some libalpm based tools fail to correctly parse config files without
sections.
2017-09-28 01:34:22 +03:00
Marek Marczykowski-Górecki
7e608a8bb4
Remove DisposableVM savefile related files
...
In Qubes 4.0 we no longer use two-stage DisposableVM startup.
2017-06-08 22:11:35 +02:00
Marek Marczykowski-Górecki
89183e9944
Ask for target VM for file-copy in dom0
...
This way:
- VM prompt do know VM list, the list may be filtered based on policy
- source VM don't learn name of target VM
Fixes QubesOS/qubes-issues#910
2017-05-20 15:53:03 +02:00
Marek Marczykowski-Górecki
ce70887a57
Merge branch 'core3-devel'
2017-05-20 14:43:53 +02:00
Olivier MEDOC
7787d39b6e
archlinux: add missing qubes-rpc dependencies
2017-01-29 15:37:15 +01:00
Olivier MEDOC
0159cd6a77
archlinux: fix pacman.d dropin not activated if pacman.conf does not already contains qubes markers
2017-01-29 15:27:14 +01:00
Olivier MEDOC
98b4f1f265
archlinux: fix bash syntax errors
2017-01-29 14:34:50 +01:00
Olivier MEDOC
8584290295
archlinux: update installer script to use systemd preset file
2017-01-29 13:55:35 +01:00
Olivier MEDOC
9890ed191a
archlinux: fix lsb_release missing
2017-01-28 21:20:20 +01:00
Olivier MEDOC
d8599d45ba
archlinux: fix community repositories URL
2016-12-28 09:00:38 +01:00
Nicklaus McClendon
d1faba7d03
Copied needed sources to build root
2016-12-25 13:33:39 -05:00
Manuel Amador (Rudd-O)
59aec8e5eb
Clean up early initialization and setup of /rw
2016-10-23 20:19:51 +00:00
Marek Marczykowski-Górecki
2c8fe644f3
network: remove qubes-netwatcher
...
This tool/service is obsolete for a long time (it does nothing on R3.0
and later).
2016-09-12 05:58:26 +02:00
Olivier MEDOC
a346de7e46
archlinux: ensure repositories are the last pacman.d files included
2016-07-12 11:25:03 +02:00
Olivier MEDOC
d449d75162
archlinux: Setup default package repository
2016-07-12 11:20:12 +02:00
Olivier MEDOC
b6a6d4e4e0
archlinux: switch to usage of pacman.d drop-ins
2016-07-11 17:21:55 +02:00
Olivier MEDOC
245c6d1716
archlinux: remove unnecessary glib-compile-scheme
...
This is now automatically handled through pacman hooks
2016-07-11 15:32:36 +02:00
Olivier MEDOC
c82b82d7b4
archlinux: provide automatic qubes-trigger-sync-appmenus through pacman hooks
2016-07-11 15:29:31 +02:00
Olivier MEDOC
051d806f0a
archlinux: update installer script in prevision of pacman.d drop-ins
2016-07-11 15:15:45 +02:00
Olivier MEDOC
ccb9a5b992
archlinux: fix remaining loginctl privilege issues with invalid pam.d configuration
2016-04-26 12:57:36 +02:00
Olivier MEDOC
eb105540c5
archlinux: properly add qubes markers in pacman.conf
2016-01-21 18:21:44 +01:00
Olivier MEDOC
1bbcf126ad
archlinux: add Qubes Markers in pacman.conf so that changes done by qubes scripts are not inserted at the end of pacman.conf
2016-01-21 07:59:35 +01:00
Olivier MEDOC
857598cbfc
archlinux: add gcc and make as make dependencies
2016-01-16 11:54:04 +01:00
noname
8ab866f827
archlinux: Added python{2,3} as dependency. Solved python22 bug.
2015-12-27 20:24:25 +01:00
Olivier MEDOC
1c09b88fae
archlinux: ensure systemctl reset preset correctly (need to be started twice)
2015-12-15 16:20:03 +01:00
Olivier MEDOC
33aa1782ca
archlinux: remove quotes when checking system locales (in case it has been user defined)
2015-12-08 15:32:30 +01:00
Olivier MEDOC
7d2bc0c6bb
archlinux: fix invalid systemd path in make install directive
2015-12-08 15:31:59 +01:00
Marek Marczykowski-Górecki
a11897a1d0
Revert "network: use drop-ins for NetworkManager configuration ( #1176 )"
...
Apparently unmanaged devices are loaded only from main
NetworkManager.conf. Exactly the same line pasted (not typed!) to main
NetworkManager.conf works, but in
/etc/NetworkManager/conf.d/30-qubes.conf it doesn't.
BTW There was a typo in option name ("unmanaged_devices" instead of
"unmanaged-devices", but it wasn't the cause).
This reverts commit 6c4831339c
.
QubesOS/qubes-issues#1176
2015-11-28 17:43:15 +01:00
Olivier MEDOC
c70ee7049f
archlinux: enforce minimum versionning of qubes-utils
2015-11-17 09:47:21 +01:00
Marek Marczykowski-Górecki
7cca1b23ee
Get rid of qubes-core-vm-kernel-placeholder
...
Since /lib/modules is not mounted read-only anymore (only a selected
subdirectory there), it is no longer required to prevent kernel package
installation. Even more - since PV Grub being supported, it makes sense
to have kernel installed in the VM.
QubesOS/qubes-issues#1354
2015-11-11 02:36:57 +01:00
Olivier MEDOC
2d4b86c020
archlinux: readd lines removed by error during merge
2015-10-18 11:11:45 +02:00
Olivier MEDOC
fcee020cf5
Merge branch 'master' of https://github.com/marmarek/qubes-core-agent-linux
...
Conflicts:
archlinux/PKGBUILD.install
2015-10-18 10:56:18 +02:00
Olivier MEDOC
ead0b32a87
archlinux: readd notification-daemon as a dependency
2015-10-17 10:16:56 +02:00
Olivier MEDOC
705142e8a8
archlinux: force running scripts with python2 even when /usr/bin/env is used
2015-10-17 10:15:54 +02:00
Olivier MEDOC
9954cd82f1
archlinux: update packaging and install script to use systemd DROPINs
2015-10-16 14:34:15 +02:00
Patrick Schleizer
f063b4a90f
Renamed qubes-mount-home to qubes-mount-dirs.
...
Renamed qubes-mount-home service and mount-home.sh script to qubes-mount-dirs service and mount-dirs.sh.
Because mount-home.sh also processed /rw/usrlocal.
preparation to fix the following issues:
- upstream bind-directories functionality to Qubes - https://phabricator.whonix.org/T414
- Bind mount /rw/usrlocal -> /usr/local instead of symlink - https://github.com/QubesOS/qubes-issues/issues/1150
- /bin/sync hangs forever in whonix-ws-dvm - https://github.com/QubesOS/qubes-issues/issues/1328
2015-10-15 20:57:43 +00:00
Patrick Schleizer
2eb0ed2be1
removed trailing spaces
2015-10-15 04:34:55 +02:00
Marek Marczykowski-Górecki
6c4831339c
network: use drop-ins for NetworkManager configuration ( #1176 )
...
Do not modify main /etc/NetworkManager/NetworkManager.conf as it would
cause conflicts during updates. Use
/etc/NetworkManager/conf.d/30-qubes.conf instead.
Also remove some dead code for dynamically generated parts (no longer
required to "blacklist" eth0 in VMs - we have proper connection
generated for it). It was commented out for some time already
Fixes QubesOS/qubes-issues#1176
2015-10-06 15:15:26 +02:00
Marek Marczykowski-Górecki
1287decd20
archlinux: remove installOverridenServices as now handled by systemd dropins
2015-08-04 17:26:44 +02:00
Olivier MEDOC
f2c9a9320c
archlinux: ensure python2 is used for all scripts and fix dependencies for qubes-desktop-run
2015-07-30 15:54:41 +02:00
Olivier MEDOC
2cfd4e6a13
archlinux: enabled configuration of all core agent dependencies
2015-07-28 16:12:07 +02:00
Olivier MEDOC
20c7f85f1f
archlinux: pulseaudio should be configured in gui agent and will break installation of pulseaudio if installed in core-agent-linux
2015-07-28 16:11:16 +02:00
Olivier MEDOC
78dcdd0f6a
archlinux: fix syntax errors in install file
2015-07-14 08:09:11 +02:00
Olivier MEDOC
d84c07295b
archlinux: reorganize install script to make it more easily compareable with the .spec file
2015-07-08 15:01:21 +02:00
Olivier MEDOC
0373f1cdfb
archlinux: update dependency list based on .spec file
2015-07-08 15:00:50 +02:00
Jason Mehring
567a045bcd
Make sure when user is added to qubes group that the group is appended
...
added -a option to usermod.
This will prevent other groups from being un-subscribed when qubes group is added
2015-02-13 15:00:54 -05:00
Jason Mehring
fc42561586
Add a qubes group and then add the user 'user' to the group
...
This is to allow permissions to be set on some devices where the user needs
less restrictive permissions. /etc/udev/rules.d/99-qubes-misc.rules changes
a few xen devices to allow the users in the qubes group access
2015-02-11 08:02:55 -05:00
Olivier MEDOC
898f223cd4
archlinux: align with fedora changes related to imsettings
2015-01-30 00:48:56 +01:00
Olivier MEDOC
a94f1f4111
archlinux: fix new packaging requirements related to sbin, lib64, run ...
2015-01-30 00:48:55 +01:00
Jason Mehring
33d3a6c9ea
fc21: iptables configurations conflict with fc21 yum package manager
...
Moved iptables configuration to /usr/lib/qubes/init
fc21 + debian + arch will place them in proper place on postinst
Fixes dedian bug of not having them in proper place
2015-01-30 00:43:31 +01:00
Marek Marczykowski-Górecki
71802a4778
archlinux: modules-load.d handled now in generic files
...
It is no longer Archlinux specific.
2014-09-29 21:40:35 +02:00
Olivier MEDOC
6c8ef2ddd8
archlinux: enable/disable services when corresponding packages got installed
2014-08-02 23:47:19 +02:00
Olivier MEDOC
eb1dcd750e
archlinux: follow fedora20 qubes agent improvement
2014-08-02 23:47:19 +02:00
Olivier MEDOC
34e94917ba
archlinux: follow fedora20 qubes agent improvement
2014-08-02 23:47:19 +02:00
Olivier MEDOC
b488be3ff8
archlinux: add notification daemon
2014-08-02 23:47:19 +02:00
Marek Marczykowski-Górecki
15579d529e
archlinux: do not fail mount /usr/lib/modules if already mounted
2014-04-23 03:14:28 +02:00
Olivier MEDOC
3dcb434142
archlinux: move xinitrc bugfix to qubes-gui-agent
2014-02-16 21:17:39 +01:00
Olivier MEDOC
59ea1741dd
archlinux: fixes for working user session
2014-02-16 21:13:53 +01:00
Olivier MEDOC
d931ba237e
archlinux: ensure /lib/modules is mounted before xenfs using a systemd service
...
This systemd service is not disruptive to the boot process if it fails to mount /lib/modules (because it has been mounted before systemd switched the root directory to the real one).
The advantage is that it will boot /usr/lib/modules even if dracut doesn't handle root switch pre-hook, which is the case on archlinux.
It then allows booting an archlinux AppVM using an archlinux kernel.
2014-02-08 23:16:52 +01:00
Olivier MEDOC
6547577ce9
archlinux: fix bugs in added package install/remove commands
2014-02-08 23:16:00 +01:00
Olivier MEDOC
e0a00899cf
archlinux: fixes in package uninstall trigger and disable additionnal qubes services
2014-02-08 23:15:14 +01:00
Olivier MEDOC
6757337bd3
archlinux: forgot to enable qubes-sysinit when installing package
2014-02-08 23:14:34 +01:00
Olivier MEDOC
312edc6320
archlinux: fix typo in install script
2014-01-23 07:02:25 +01:00
Olivier MEDOC
973c688c10
archlinux: update install script based on spec file
2014-01-23 07:02:25 +01:00
Olivier MEDOC
f7a956ef2e
archlinux: fixes due to new archlinux releases
2013-12-03 18:07:01 +01:00
Olivier MEDOC
4a657d77fb
archlinux: fix systemd scripts to ensure that absolute path are used
2013-08-14 03:47:13 +02:00
Olivier MEDOC
6e4e45a2c8
archlinux: avoid installing tools into /sbin or /usr/sbin as required by archlinux
2013-08-14 03:47:01 +02:00
Olivier Medoc
19fdc8854b
archlinux: create user with the zsh shell to avoid an archlinux bash bug
2013-04-28 03:04:02 +02:00
Olivier Medoc
79bf681509
archlinux: implement missing pre-install directives for fstab and user creation stuff
2013-04-28 03:03:59 +02:00
Olivier Medoc
541474bd23
archlinux: modify iptables.rules path to match archlinux standard
2013-04-28 03:03:58 +02:00
Olivier Medoc
eadaf502bc
archlinux: fix postinstall scripts
2013-04-18 17:47:12 +02:00
Marek Marczykowski
5bbbc3dab2
Merge Makefile.core into main Makefile
2013-04-17 01:52:16 +02:00
Olivier Medoc
0d3fe6d45b
archlinux: created build scripts
2013-04-17 01:22:32 +02:00