mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
Since now those packages are build with autotest pre build.
This CL should be submitted after 531001. Review URL: http://codereview.chromium.org/537009
This commit is contained in:
parent
4f44d9e104
commit
55d1c59a58
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# Install fio and libaio1
|
||||
dpkg --install /modify_build/libaio1_*.deb
|
||||
dpkg --install /modify_build/fio_*.deb
|
||||
|
@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# Install patch.
|
||||
dpkg --install /modify_build/patch_*.deb
|
||||
|
@ -1,12 +0,0 @@
|
||||
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
# build fio
|
||||
pushd "${GCLIENT_ROOT}/src/third_party/fio"
|
||||
./make_pkg.sh
|
||||
popd
|
||||
|
||||
sudo cp "${DEFAULT_BUILD_ROOT}"/x86/local_packages/fio_*.deb \
|
||||
"${ROOT_FS_DIR}/modify_build/"
|
||||
|
@ -1,7 +0,0 @@
|
||||
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
sudo cp "${DEFAULT_IMG_MIRROR#*://}"/pool/main/liba/libaio/libaio1_*.deb \
|
||||
"${ROOT_FS_DIR}/modify_build"
|
||||
|
@ -1,7 +0,0 @@
|
||||
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
sudo cp "${DEFAULT_IMG_MIRROR#*://}"/pool/main/p/patch/patch_*.deb \
|
||||
"${ROOT_FS_DIR}/modify_build"
|
||||
|
@ -65,13 +65,6 @@ sudo mount "${LOOP_DEV}" "${ROOT_FS_DIR}"
|
||||
|
||||
echo "Modifying image ${FLAGS_image} for test..."
|
||||
|
||||
# Run build steps for modify for test
|
||||
sudo mkdir -p "${ROOT_FS_DIR}/modify_build"
|
||||
scripts_dir="${GCLIENT_ROOT}/src/scripts/mod_for_test_scripts"
|
||||
for script in "${scripts_dir}"/b[0-9][0-9][0-9]*[!$~]; do
|
||||
. ${script}
|
||||
done
|
||||
|
||||
MOD_SCRIPTS_ROOT="${GCLIENT_ROOT}/src/scripts/mod_for_test_scripts"
|
||||
sudo mkdir -p "${ROOT_FS_DIR}/modify_scripts"
|
||||
sudo mount --bind "${MOD_SCRIPTS_ROOT}" "${ROOT_FS_DIR}/modify_scripts"
|
||||
@ -81,7 +74,6 @@ sudo chroot "${ROOT_FS_DIR}" "/modify_scripts/test_setup.sh"
|
||||
|
||||
sudo umount "${ROOT_FS_DIR}/modify_scripts"
|
||||
sudo rmdir "${ROOT_FS_DIR}/modify_scripts"
|
||||
sudo rm -rf "${ROOT_FS_DIR}/modify_build"
|
||||
|
||||
cleanup
|
||||
trap - EXIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user