Closed siriobalmelli closed 5 years ago
@siriobalmelli , yeah this script can be a little fragile, i'm hoping finish testing with my collection of 3.8.x/4.1.x (uses uuid), 4.4.x - 4.14.x images..
Thanks for reviewing :)
I hear you, and happy to upstream what changes I make as I progress on a project which uses this.
FYI testing on a BBB (4.14 + custom config) as I go - but if you would like to point me to a few images I'd be happy to test with a variety before submitting pull requests so there is more confidence.
temporarily closing - will do extensive testing (and possibly push tweaks) before reopening
Access /proc/cmdline only once. Refactor piped calls to (tr, grep, sed, awk) to a single sed call. Add comment to highlight what is being searched. Increase legibility and bring under 80-char line length.
Signed-off-by: Sirio Balmelli sirio@b-ad.ch