-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Import CI build drivers #174
Conversation
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.
Wow! 🙇
grml-live
Outdated
local rc=0 | ||
mount -o loop "${EXTRACT_ISO_NAME}" "$mountpoint" ; rc=$? | ||
mkdir -p "${tempdir}/live/" | ||
osirrox -indev "${EXTRACT_ISO_NAME}" -extract live "${tempdir}/live/" |
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.
missing the "; rc=$?" at the end to propagate the exit code for lines below?
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.
indeed, fixed now!
grml-live
Outdated
rmdir "$mountpoint" | ||
log "mount failed" | ||
eerror "mount failed" | ||
rm -r "$tempdir" |
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.
are we good/fine with rm -r
(as in: no need for rm -rf
)?
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.
Was pondering that; have now added -f.
mount -o loop is disabled in our new build environment, so avoid that and use xorriso (actually, osirrox) to extract the squashfs file from the ISO.
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.
Can't really comment on the python thingy, but everything LGTM!
🤗
These are our new build scripts for driving grml-live from CI. Not the nicest Python I've ever written, but it works.
This PR also contains #172 and #173 for now, as I needed them for testing in the same branch.