|
@@ -26,6 +26,8 @@ create_package() {
|
|
# Fix ownership and permissions
|
|
# Fix ownership and permissions
|
|
chown -R root:root "$pdir"
|
|
chown -R root:root "$pdir"
|
|
chmod -R go-w "$pdir"
|
|
chmod -R go-w "$pdir"
|
|
|
|
+ # in case we are in a restrictive umask environment like 0077
|
|
|
|
+ chmod -R a+rX "$pdir"
|
|
|
|
|
|
# Create the package
|
|
# Create the package
|
|
dpkg-gencontrol $forcearch -Vkernel:debarch="${debarch}" -p$pname -P"$pdir"
|
|
dpkg-gencontrol $forcearch -Vkernel:debarch="${debarch}" -p$pname -P"$pdir"
|