deploy: add --karg-none argument
authorGatis Paeglis <gatis.paeglis@qt.io>
Fri, 12 Aug 2016 09:51:04 +0000 (11:51 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 10 Jan 2018 13:52:58 +0000 (13:52 +0000)
commit652d9dd98a610ba6ebda3e3e6c5202f53d3dc439
treed6225bfeafdf256be47ae7d680a528805452a700
parent62cb078973f2dacd0975a7d67da907d267dbd8bd
deploy: add --karg-none argument

If the current deployment has "rootwait root=/dev/sda2",
but the new deployment does not need "rootwait" anymore,
there is no way to clear this arg at the moment (as opposed
to "karg=root=", which overrides any earlier argument with
the same name). With "--karg-none" users can now clear all
the previous args and set new "root=":

ostree admin deploy --karg-none --karg=root=LABEL=rootfs

Closes: #1401
Approved by: cgwalters
src/ostree/ot-admin-builtin-deploy.c