Skip to content

Commit

Permalink
classes: genimage: fix install file permissions
Browse files Browse the repository at this point in the history
If not specified "install" installs the files with rwxr-xr-x
permissions. Set the mode explicit to fix this.

Signed-off-by: Marco Felsch <[email protected]>
  • Loading branch information
Marco Felsch authored and ejoerns committed Feb 27, 2024
1 parent 7a79fd6 commit 6ffe1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes-recipe/genimage.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ do_genimage[prefuncs] += "do_genimage_preprocess"
addtask genimage after do_configure before do_build

do_deploy () {
install ${B}/* ${DEPLOYDIR}/
install -m 0644 ${B}/* ${DEPLOYDIR}/

for img in ${B}/*; do
img=$(basename "${img}")
Expand Down

0 comments on commit 6ffe1d9

Please sign in to comment.