mirror of
https://github.com/dockur/windows.git
synced 2025-09-18 05:41:01 +00:00
Compare commits
3 Commits
f9efa3e0ee
...
21eb802bf4
Author | SHA1 | Date | |
---|---|---|---|
|
21eb802bf4 | ||
|
0b7e8f01be | ||
|
57ac15b62d |
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
path: "assets"
|
path: "assets"
|
||||||
file-endings: ".xml"
|
file-endings: ".xml"
|
||||||
- name: Lint Dockerfile
|
- name: Lint Dockerfile
|
||||||
uses: hadolint/hadolint-action@v3.1.0
|
uses: hadolint/hadolint-action@v3.2.0
|
||||||
with:
|
with:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ignore: DL3006,DL3008
|
ignore: DL3006,DL3008
|
||||||
|
@ -615,7 +615,9 @@ detectImage() {
|
|||||||
warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB" && return 1
|
warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB" && return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
info=$(wimlib-imagex info -xml "$wim" | tr -d '\000')
|
wimlib-imagex info -xml "$wim" > wimxml.xml
|
||||||
|
iconv -f UTF-16LE -t UTF-8 wimxml.xml -o wimxmlutf8.xml
|
||||||
|
info=$(cat wimxmlutf8.xml)
|
||||||
checkPlatform "$info" || exit 67
|
checkPlatform "$info" || exit 67
|
||||||
|
|
||||||
DETECTED=$(detectVersion "$info")
|
DETECTED=$(detectVersion "$info")
|
||||||
|
Loading…
Reference in New Issue
Block a user