update_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
Review URL: http://codereview.chromium.org/3232004
diff --git a/SConstruct b/SConstruct
index b5c2c70..4df1395 100644
--- a/SConstruct
+++ b/SConstruct
@@ -165,6 +165,7 @@
metrics
protobuf
pthread
+ rootdev
ssl
xml2
z""")