device_google_bluejay/storage/Android.bp
Leo Liou e3e61f15bc bluejay: conf: run ufs ffu script after boot complete
The ufs script is to work for ffu preparing. If device's ufs has an
old firmware, the script will copy the valid firmware into disk and
wait for ffu update on bootloader.

Bug: 273305212
Test: full build and test ffu update
Change-Id: Ib5e2c57494ee22c33b93f1eda0e72049dcd12d16
Signed-off-by: Leo Liou <leoliou@google.com>
2023-03-31 17:01:31 +08:00

27 lines
877 B
Text

//
// Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: [
"//device/google/bluejay:device_google_bluejay_license",
],
}
sh_binary {
name: "ufs_firmware_update.sh",
src: "ufs_firmware_update.sh",
init_rc: ["storage.bluejay.rc"],
vendor: true,
}