Descriptionupdate_engine: use librootdev
Rewrote BootDevice() to call rootdev() with full resolution
enabled. BootDevice() was crawling /proc/cmdline while rootdev()
uses /sys. We should have both /proc and /sys normally so hopefully
this is a minor change to get us to a working updater over dm-verity.
TEST=none yet.
BUG=chromium-os:5938
Change-Id: I7ee654d5b429d67d65e9729210ef839c58fa1d34
Patch Set 1 #
Total comments: 10
Patch Set 2 : style nits++ #
Total comments: 1
Patch Set 3 : use LOG_IF since it fits _exactly_ in 80 chars :) #Messages
Total messages: 5 (0 generated)
|