File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,14 @@ function build_odroid_h4 {
227
227
DEFCONFIG=" configs/config.hardkernel_odroid_h4"
228
228
FW_VERSION=$( cat ${DEFCONFIG} | grep CONFIG_LOCALVERSION | cut -d ' =' -f 2 | tr -d ' "' )
229
229
230
+ # Without following sequence workspce would be created by docker with root
231
+ # privilidges and build will fail.
232
+ # Target directory
233
+ TARGET_DIR=" payloads/external/edk2/workspace/Dasharo"
234
+ mkdir -p " $TARGET_DIR "
235
+ chown -R $( id -u) :$( id -g) " $TARGET_DIR "
236
+ chmod -R 755 " $TARGET_DIR "
237
+
230
238
# checkout several submodules needed by these boards (some others are checked
231
239
# out by coreboot's Makefile)
232
240
git submodule update --init --force --checkout \
@@ -265,6 +273,14 @@ function build_odroid_h4_btg {
265
273
DEFCONFIG=" configs/config.hardkernel_odroid_h4_btg"
266
274
FW_VERSION=$( cat ${DEFCONFIG} | grep CONFIG_LOCALVERSION | cut -d ' =' -f 2 | tr -d ' "' )
267
275
276
+ # Without following sequence workspce would be created by docker with root
277
+ # privilidges and build will fail.
278
+ # Target directory
279
+ TARGET_DIR=" payloads/external/edk2/workspace/Dasharo"
280
+ mkdir -p " $TARGET_DIR "
281
+ chown -R $( id -u) :$( id -g) " $TARGET_DIR "
282
+ chmod -R 755 " $TARGET_DIR "
283
+
268
284
# checkout several submodules needed by these boards (some others are checked
269
285
# out by coreboot's Makefile)
270
286
git submodule update --init --force --checkout \
You can’t perform that action at this time.
0 commit comments