~xnox/debian-cd/subiquity

Viewing all changes in revision 2028.

  • Committer: Dimitri John Ledkov
  • Date: 2019-04-26 12:58:37 UTC
  • Revision ID: xnox@ubuntu.com-20190426125837-nb5qvq63av4d7nwf
Fix whitespace & drop OEM boot options from subiquity

Currently kernel commandline string on subiquity images has multiple
groups of duplicate whitespace. This is because most of the
parameteres are empty for subiquity images and are concatenated space
delimited. Instead of fiddling with optionality of each argument,
simply parse them with $(echo ), such that shell escaping space
separates all arguments without any double/tripple spacing.

Also this makes reading the variable names easier.

Create a variable indicating subiquity based images, to skip chunks of
unneeded boot options. E.g. OEM boot is not supported by the subiquity
images.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: