bootstrap: Add 'armband-rtc-efi-fix' package
[armband.git] / patches / opnfv-fuel / 0006-bootstrap-Add-armband-rtc-efi-fix-package.patch
1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Sun, 17 Apr 2016 15:37:38 +0200
3 Subject: [PATCH] bootstrap: Add armband-rtc-efi-fix package.
4
5 Older ThunderX and possibly other UEFI-enabled targets do not support
6 rtc-efi properly, so they end up filling dmesg with useless
7 complaints about not being able to read system time.
8
9 armband-rtc-efi-fix validates rtc-efi can be used on the system,
10 otherwise it rmmods rtc_efi kernel module via rcS script.
11
12 This patch hardcodes the addition of armband-rtc-ef-fix package during
13 bootstrap image build.
14
15 NOTES:
16 This could be later removed or, if other fixes need to be delivered
17 like this, grouped in a meta package.
18
19 Fuel 9.0 moved default package list to openstack.yaml fixture, see [1].
20
21 [1] https://github.com/openstack/fuel-web/commit/
22     4ee42effe27694bd231663e3d0f10c0c42877177
23 ---
24  build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml | 1 +
25  1 file changed, 1 insertion(+)
26
27 diff --git a/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml b/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml
28 index 2e4843d..15d9e9d 100644
29 --- a/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml
30 +++ b/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml
31 @@ -28,6 +28,7 @@
32      - xz-utils
33      - squashfs-tools
34      - msmtp-mta
35 +    - armband-rtc-efi-fix
36    bootstrap_images_dir: /var/www/nailgun/bootstraps
37    active_bootstrap_symlink: /var/www/nailgun/bootstraps/active_bootstrap
38    flavor: ubuntu