Pull Kbuild fixes from Masahiro Yamada: - Remove unused OBJSIZE variable. - Fix rootless deb-pkg build in a setgid directory. * tag 'kbuild-fixes-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: builddeb: Fix rootless build in setuid/setgid directory kbuild: remove unused OBJSIZE
Showing the changes to scripts (1 of 3 files). Show all
Unified · Split
| @@ -45,6 +45,8 @@ create_package() { · 44 unmodified lines | |||
| 45 | chmod -R go-w "$pdir" | 45 | chmod -R go-w "$pdir" |
| 46 | # in case we are in a restrictive umask environment like 0077 | 46 | # in case we are in a restrictive umask environment like 0077 |
| 47 | chmod -R a+rX "$pdir" | 47 | chmod -R a+rX "$pdir" |
| 48 | # in case we build in a setuid/setgid directory | ||
| 49 | chmod -R ug-s "$pdir" | ||
| 48 | 50 | ||
| 49 | # Create the package | 51 | # Create the package |
| 50 | dpkg-gencontrol -p$pname -P"$pdir" | 52 | dpkg-gencontrol -p$pname -P"$pdir" |