Build and packaging library
  • Python 49.4%
  • Makefile 37%
  • Shell 13.6%
Find a file
Jan Lindemann 0bc06b7c41 jw.pkg.cmds.distro.backend.BackendCmd: Add sudo(opts)

Prepending --login to the argument list of BackendCmd.sudo() fails if run as root, because BackendCmd.sudo() detects that and leaves the /usr/bin/sudo out from the exec call. Fix that by adding an opts: list[str] parameter to sudo, defaulting to an empty list, with options that should be passed to /usr/bin/sudo.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-02-14 09:20:24 +01:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
make project.conf: pkg.requires.os.devel = make 2026-02-12 20:37:24 +01:00
scripts pgit.sh: Pass --autostash to rebase 2026-02-10 09:55:59 +01:00
src jw.pkg.cmds.distro.backend.BackendCmd: Add sudo(opts) 2026-02-14 09:20:24 +01:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-162@suse-tumbleweed/x86_64 2026-02-13 00:12:31 +00:00
Makefile $(TOPDIR)/Makefile: Remove superfluous SUBDIRS 2025-11-14 13:39:52 +01:00
RELEASES Release 1.0.0-162@suse-tumbleweed/x86_64 2026-02-13 00:12:31 +00:00
VERSION Start version: 1.0.0-162 2026-02-13 00:12:00 +00:00