os-prober: use snapified source

Use my branch of os-prober which adds env variables for finding the lib
& share directories.  And set those env variables.
This commit is contained in:
Dan Bungert 2022-02-28 15:14:55 -07:00
parent 3b6f6024ae
commit 9179777aa2
1 changed files with 4 additions and 1 deletions

View File

@ -34,6 +34,9 @@ apps:
PYTHON: $SNAP/usr/bin/python3.8 PYTHON: $SNAP/usr/bin/python3.8
os-prober: os-prober:
command: usr/bin/os-prober command: usr/bin/os-prober
environment:
OS_PROBER_SHARE: $SNAP/usr/share
OS_PROBER_LIB: $SNAP/usr/lib
parts: parts:
curtin: curtin:
@ -199,7 +202,7 @@ parts:
plugin: nil plugin: nil
source-type: git source-type: git
source: https://github.com/dbungert/os-prober source: https://github.com/dbungert/os-prober
source-commit: 2f5ec629a224aa322cb34f1378793d9cef7006d1 source-commit: 80d6a3157a814278af4f96da91f9ab7218e20fdc
build-packages: build-packages:
- build-essential - build-essential
- debhelper - debhelper