Skip to content

Commit e1f39fa

Browse files
committed
falter-berlin-admin-keys: fix $OPKG_INSTROOT for buildroot builds
1 parent 23160bc commit e1f39fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/falter-berlin-admin-keys/files/register_keys.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ KEY_FILES=$(find "$SCRIPTPATH" -name "*.pub")
77

88
for KEY_FILE in $KEY_FILES; do
99
KEY=$(cat $KEY_FILE)
10-
if [ -z "$(grep "$KEY" /etc/dropbear/authorized_keys)" ]; then
11-
echo "$KEY" >> /etc/dropbear/authorized_keys
10+
if [ -z "$(grep "$KEY" $IPKG_INSTROOT/etc/dropbear/authorized_keys)" ]; then
11+
echo "$KEY" >> $IPKG_INSTROOT/etc/dropbear/authorized_keys
1212
fi
1313
done

0 commit comments

Comments
 (0)