Merge pull request #7880 from ChengyuZhu6/udev

image-builder: fix udev error when using docker to build image
This commit is contained in:
Fabiano Fidêncio 2023-09-13 07:47:35 +02:00 committed by GitHub
commit f462c69484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,6 +205,7 @@ build_with_container() {
--env DEBUG="${DEBUG}" \
--env ARCH="${ARCH}" \
--env TARGET_ARCH="${TARGET_ARCH}" \
--env DM_VERITY="${DM_VERITY}" \
-v /dev:/dev \
-v "${script_dir}":"/osbuilder" \
-v "${script_dir}/../scripts":"/scripts" \