Skip to content

Commit

Permalink
build: Disable fakeroot in favour of rootlesskit
Browse files Browse the repository at this point in the history
Signed-off-by: Rune Morling <[email protected]>
  • Loading branch information
ermo committed Aug 28, 2024
1 parent af53724 commit 1e3e8c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion builder/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ func (p *Package) BuildYpkg(notif PidNotifier, usr *UserInfo, pman *EopkgManager
ymlFile := filepath.Join(wdir, filepath.Base(p.Path))

// Now build the package
cmd := fmt.Sprintf("/bin/su %s -- fakeroot ypkg-build -D %s %s", BuildUser, wdir, ymlFile)
// cmd := fmt.Sprintf("/bin/su %s -- fakeroot ypkg-build -D %s %s", BuildUser, wdir, ymlFile)
// rootlesskit does not need fakeroot
cmd := fmt.Sprintf("/bin/su %s -- ypkg-build -D %s %s", BuildUser, wdir, ymlFile)
if DisableColors {
cmd += " -n"
}
Expand Down

0 comments on commit 1e3e8c8

Please sign in to comment.