-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,6 +119,10 @@ package_qubes-vm-core() { | |
install -m 0755 "package-managers/upgrades-installed-check" "${pkgdir}/usr/lib/qubes/" | ||
install -m 0755 "package-managers/upgrades-status-notify" "${pkgdir}/usr/lib/qubes/" | ||
|
||
# Patch for /etc/sudoers default secure_path | ||
install -d -m 0750 "${pkgdir}/etc/sudoers.d" | ||
install -m 0440 "archlinux/PKGBUILD.qubes-secure-path.sudo" "${pkgdir}/etc/sudoers.d/qubes_secure_path" | ||
|
||
# Archlinux specific: enable autologin on tty1 | ||
mkdir -p "$pkgdir/etc/systemd/system/[email protected]/" | ||
cat <<EOF > "$pkgdir/etc/systemd/system/[email protected]/autologin.conf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Defaults secure_path="/run/qubes/bin:/usr/local/sbin:/usr/local/bin:/usr/bin" | ||
|
||
# vim: ft=sudoers |