OSDN Git Service

postinst: Update postinstall_example.
authorAlex Deymo <deymo@google.com>
Thu, 31 Mar 2016 01:50:59 +0000 (18:50 -0700)
committerAlex Deymo <deymo@google.com>
Thu, 31 Mar 2016 03:09:24 +0000 (20:09 -0700)
commit74ef144cd4192ef47dac6a8c844c3aeaece19b9e
treefb18f0d0a75befc992ed3397a026edb14f57fd15
parenteaa9c1dc0c2c7bd4570e0b7c605bac207e6ab3a3
postinst: Update postinstall_example.

The postinstall step now receives two parameters: the target slot and
the progress file descriptor. This file descriptor is a pipe where the
postinstall program can write back to the updater what's its current
progress.

Bug: 27880754
TEST=Deployed an image with the postinstall example installed.

Change-Id: I0afedb47556885d4e3b3f1b93be82314153ffc19
postinst/postinst.sh