Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxd-imagebuilder: Improve win repack (from Incus) #86

Merged
merged 14 commits into from
Aug 8, 2024

Conversation

nanjj and others added 11 commits August 7, 2024 09:19
And make the usage of drivers, windows-version, windows-arch understandable

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit f86cad1afeb501f8294e6ed8a3bec058e60b5c4a)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
The option `--exit-on-error' exists only on debian run-parts version. On centos,
redhat or federa, run-parts has no such option.

The fix checks version and adds options accordingly.

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit b7240053d8f4db44c94e455f895302524ccb5411)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
And make genisoimage progress output better

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit 5851fd9a1e1ea4070c30f466e5859b45503fc256)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
And refactor find windows directories logic, and fixes the potenial bug if
parent directory not found

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit 1c98c9207061dea202706807860a460678a4e2b8)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
And detect windows version via install wim info, and inject drivers to winpe
image. So if booting winpe (say, via iPXE and wimboot), the network, input and
iSCSI can work correctly.

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit 571596cc456c5bc829860152fe398b86d9ef6ff9)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
… logic

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit b237c6c69d607373365531d06e6a44d842529a39)
Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit f6722e3de6b25deb494b6bf62eaf91c61cb755aa)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit 14721a319c7b04b89335624a039cc08458fc061f)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit b632188dcc95207431cdbf369e602eb669fb16fe)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
Driver like vioinput has multiple sys files `viohidkmdf.sys` and `vioinput.sys`,
without `vioinput.sys` copied, the vioinput driver not work correctly.

The fix add the multiple files copied back.

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit 44f0a4f35072aeada023fa5bd3a0094d51fce055)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
@MusicDin
Copy link
Member Author

MusicDin commented Aug 7, 2024

I've tested with Win 11 ISO and this works. But should be rebased after #87

doc/tutorials/use.md Outdated Show resolved Hide resolved
@MusicDin MusicDin marked this pull request as ready for review August 7, 2024 19:54
@MusicDin MusicDin requested a review from tomponline as a code owner August 7, 2024 19:54
@MusicDin MusicDin requested a review from simondeziel August 7, 2024 19:55
@tomponline tomponline changed the title lxd-imagebuilder: Improve win repack lxd-imagebuilder: Improve win repack (from Incus) Aug 8, 2024
@tomponline tomponline merged commit 7f26cf6 into canonical:main Aug 8, 2024
8 checks passed
@MusicDin MusicDin deleted the cp/win branch August 8, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants