-
Notifications
You must be signed in to change notification settings - Fork 176
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
Set repack-windows drivers default value #833
Conversation
00b7c18
to
acefa88
Compare
distrobuilder/main_repack-windows.go
Outdated
} | ||
|
||
defer f.Close() | ||
c.umounts = append([]string{c.global.sourceDir}, c.umounts...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c.umounts = append(c.umounts, c.global.sourceDir)
distrobuilder/main_repack-windows.go
Outdated
} | ||
|
||
c.umounts = append([]string{driverPath}, c.umounts...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c.umounts = append(c.umounts, driverPath)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's following the rule that first mounted should be last umounted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see. Your updated way of handling that seems better (process the list in reverse order during unmount).
And make the usage of drivers, windows-version, windows-arch understandable Signed-off-by: JUN JIE NAN <[email protected]>
And make the usage of drivers, windows-version, windows-arch understandable