mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
adds Devserver support for statically serving versioned updates.
Also decouples it from the chroot when run in serve-only mode. Review URL: http://codereview.chromium.org/1141001
This commit is contained in:
parent
caee8f891c
commit
505822a37c
@ -9,7 +9,7 @@
|
||||
COMMON_SH="$(dirname "$0")/common.sh"
|
||||
. "$COMMON_SH"
|
||||
|
||||
# Script must be run inside the chroot.
|
||||
assert_inside_chroot
|
||||
# Script must be run inside the chroot if not in 'always serve' mode.
|
||||
[[ $1 != "-a" && assert_inside_chroot ]]
|
||||
|
||||
cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py
|
||||
cd ${GCLIENT_ROOT}/src/platform/dev && python devserver.py $*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user