mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
Remove no-op oobe_completed touch
The original intent of this code was to prevent mounting of the OEM partition. However, chromeos_startup mounts /mnt/stateful_partition/home to /home and this file gets hidden. Given that we might mount the OEM partition always soon, removing this code. BUG=chromium-os:11661 TEST=build_packages, build_image, ran suite_Smoke Change-Id: I7ef4dd5c78484664cbdeb4ffaff26e2fcf8d2507 Review URL: http://codereview.chromium.org/6458007
This commit is contained in:
parent
6620630c34
commit
3cb5eb045c
@ -216,7 +216,6 @@ IMAGE_DIR=$(dirname "$FLAGS_image")
|
||||
IMAGE_NAME="$(basename "$FLAGS_image")"
|
||||
ROOT_FS_DIR="$IMAGE_DIR/rootfs"
|
||||
STATEFUL_DIR="$IMAGE_DIR/stateful_partition"
|
||||
DEV_USER="chronos"
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
@ -242,9 +241,6 @@ http:\/\/${FACTORY_SERVER}:8080\/update/" \
|
||||
else
|
||||
emerge_chromeos_test
|
||||
|
||||
# Mark "OOBE completed" flag so that OEM partition is not mounted on startup.
|
||||
sudo touch "${ROOT_FS_DIR}/home/${DEV_USER}/.oobe_completed"
|
||||
|
||||
MOD_TEST_ROOT="${GCLIENT_ROOT}/src/scripts/mod_for_test_scripts"
|
||||
# Run test setup script to modify the image
|
||||
sudo GCLIENT_ROOT="${GCLIENT_ROOT}" ROOT_FS_DIR="${ROOT_FS_DIR}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user