Accepting request 742838 from home:mbrugger:branches:RPi4
- Add support for RPi4 OBS-URL: https://build.opensuse.org/request/show/742838 OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Images:openSUSE-Tumbleweed/kiwi-templates-JeOS?expand=0&rev=5
This commit is contained in:
parent
991bb4241e
commit
a3f545f76c
57
JeOS.kiwi
57
JeOS.kiwi
@ -15,6 +15,7 @@
|
|||||||
<profile name="MS-HyperV" description="JeOS for Hyper-V" arch="x86_64"/>
|
<profile name="MS-HyperV" description="JeOS for Hyper-V" arch="x86_64"/>
|
||||||
<profile name="OpenStack-Cloud" description="JeOS for OpenStack Cloud" arch="x86_64"/>
|
<profile name="OpenStack-Cloud" description="JeOS for OpenStack Cloud" arch="x86_64"/>
|
||||||
<profile name="RaspberryPi" description="JeOS for the Raspberry Pi" arch="aarch64"/>
|
<profile name="RaspberryPi" description="JeOS for the Raspberry Pi" arch="aarch64"/>
|
||||||
|
<profile name="RaspberryPi4" description="JeOS for the Raspberry Pi4" arch="aarch64"/>
|
||||||
</profiles>
|
</profiles>
|
||||||
<preferences profiles="kvm-and-xen">
|
<preferences profiles="kvm-and-xen">
|
||||||
<version>15.1.0</version>
|
<version>15.1.0</version>
|
||||||
@ -261,6 +262,51 @@
|
|||||||
</type>
|
</type>
|
||||||
</preferences>
|
</preferences>
|
||||||
|
|
||||||
|
<preferences profiles="RaspberryPi4">
|
||||||
|
<version>15.1.0</version>
|
||||||
|
<packagemanager>zypper</packagemanager>
|
||||||
|
<bootsplash-theme>openSUSE</bootsplash-theme>
|
||||||
|
<bootloader-theme>openSUSE</bootloader-theme>
|
||||||
|
<!-- those settings are applied by suseConfig in config.sh
|
||||||
|
<locale>en_US</locale>
|
||||||
|
<keytable>us.map.gz</keytable>
|
||||||
|
<timezone>Europe/Berlin</timezone>
|
||||||
|
<hwclock>utc</hwclock>
|
||||||
|
-->
|
||||||
|
<rpm-excludedocs>true</rpm-excludedocs>
|
||||||
|
<type
|
||||||
|
image="oem"
|
||||||
|
initrd_system="dracut"
|
||||||
|
filesystem="btrfs"
|
||||||
|
fsmountoptions="noatime,compress=lzo"
|
||||||
|
bootloader="grub2"
|
||||||
|
firmware="efi"
|
||||||
|
kernelcmdline="plymouth.enable=0 cma=64M console=ttyS0,115200 modprobe.blacklist=vc4"
|
||||||
|
bootpartition="false"
|
||||||
|
devicepersistency="by-uuid"
|
||||||
|
btrfs_quota_groups="true"
|
||||||
|
btrfs_root_is_snapshot="true"
|
||||||
|
efipartsize="16"
|
||||||
|
editbootinstall="editbootinstall_rpi.sh"
|
||||||
|
>
|
||||||
|
<systemdisk>
|
||||||
|
<volume name="home"/>
|
||||||
|
<volume name="root"/>
|
||||||
|
<volume name="tmp"/>
|
||||||
|
<volume name="opt"/>
|
||||||
|
<volume name="srv"/>
|
||||||
|
<volume name="boot/grub2/arm64-efi" mountpoint="boot/grub2/arm64-efi"/>
|
||||||
|
<volume name="usr/local"/>
|
||||||
|
<volume name="var" copy_on_write="false"/>
|
||||||
|
</systemdisk>
|
||||||
|
<oemconfig>
|
||||||
|
<oem-swap>true</oem-swap>
|
||||||
|
<oem-swapsize>1000</oem-swapsize>
|
||||||
|
<oem-skip-verify>true</oem-skip-verify>
|
||||||
|
</oemconfig>
|
||||||
|
</type>
|
||||||
|
</preferences>
|
||||||
|
|
||||||
<repository type="rpm-md" >
|
<repository type="rpm-md" >
|
||||||
<source path='obsrepositories:/'/>
|
<source path='obsrepositories:/'/>
|
||||||
</repository>
|
</repository>
|
||||||
@ -309,7 +355,7 @@
|
|||||||
</packages>
|
</packages>
|
||||||
|
|
||||||
<!-- Not needed in OpenStack as it uses XFS and cloud-init -->
|
<!-- Not needed in OpenStack as it uses XFS and cloud-init -->
|
||||||
<packages type="image" profiles="kvm-and-xen,XEN,VMware,MS-HyperV,RaspberryPi">
|
<packages type="image" profiles="kvm-and-xen,XEN,VMware,MS-HyperV,RaspberryPi,RaspberryPi4">
|
||||||
<!-- Only for btrfs -->
|
<!-- Only for btrfs -->
|
||||||
<package name="btrfsprogs"/>
|
<package name="btrfsprogs"/>
|
||||||
<package name="btrfsmaintenance"/>
|
<package name="btrfsmaintenance"/>
|
||||||
@ -347,11 +393,10 @@
|
|||||||
<package name="kernel-default-base"/>
|
<package name="kernel-default-base"/>
|
||||||
<!--<package name="python-azure-agent"/> disabled until bsc#1061584 is fixed -->
|
<!--<package name="python-azure-agent"/> disabled until bsc#1061584 is fixed -->
|
||||||
</packages>
|
</packages>
|
||||||
<packages type="image" profiles="RaspberryPi">
|
<packages type="image" profiles="RaspberryPi,RaspberryPi4">
|
||||||
<package name="raspberrypi-firmware" arch="aarch64"/>
|
<package name="raspberrypi-firmware" arch="aarch64"/>
|
||||||
<package name="raspberrypi-firmware-config" arch="aarch64"/>
|
<package name="raspberrypi-firmware-config" arch="aarch64"/>
|
||||||
<package name="raspberrypi-firmware-dt" arch="aarch64"/>
|
<package name="raspberrypi-firmware-dt" arch="aarch64"/>
|
||||||
<package name="u-boot-rpi3" arch="aarch64"/>
|
|
||||||
<package name="dracut-kiwi-oem-repart"/>
|
<package name="dracut-kiwi-oem-repart"/>
|
||||||
<package name="kernel-default"/>
|
<package name="kernel-default"/>
|
||||||
<!-- For WiFi: -->
|
<!-- For WiFi: -->
|
||||||
@ -359,6 +404,12 @@
|
|||||||
<package name="bcm43xx-firmware"/>
|
<package name="bcm43xx-firmware"/>
|
||||||
<package name="kernel-firmware"/><!-- Fix choice between kernel-firmware and kernel-firmware-all -->
|
<package name="kernel-firmware"/><!-- Fix choice between kernel-firmware and kernel-firmware-all -->
|
||||||
</packages>
|
</packages>
|
||||||
|
<packages type="image" profiles="RaspberryPi">
|
||||||
|
<package name="u-boot-rpi3" arch="aarch64"/>
|
||||||
|
</packages>
|
||||||
|
<packages type="image" profiles="RaspberryPi4">
|
||||||
|
<package name="u-boot-rpi4" arch="aarch64"/>
|
||||||
|
</packages>
|
||||||
|
|
||||||
<!-- TW does not have those release packages
|
<!-- TW does not have those release packages
|
||||||
<packages type="image" profiles="kvm-and-xen,XEN">
|
<packages type="image" profiles="kvm-and-xen,XEN">
|
||||||
|
@ -5,4 +5,5 @@
|
|||||||
<flavor>MS-HyperV</flavor>
|
<flavor>MS-HyperV</flavor>
|
||||||
<flavor>OpenStack-Cloud</flavor>
|
<flavor>OpenStack-Cloud</flavor>
|
||||||
<flavor>RaspberryPi</flavor>
|
<flavor>RaspberryPi</flavor>
|
||||||
|
<flavor>RaspberryPi4</flavor>
|
||||||
</multibuild>
|
</multibuild>
|
||||||
|
@ -95,7 +95,9 @@ else
|
|||||||
systemctl enable jeos-firstboot.service
|
systemctl enable jeos-firstboot.service
|
||||||
|
|
||||||
# Only RPi has no HW RTC, so avoid bsc#1146374 for other platforms
|
# Only RPi has no HW RTC, so avoid bsc#1146374 for other platforms
|
||||||
if [[ "$kiwi_profiles" == *"RaspberryPi"* ]]; then
|
# Do not enable chrony on RPi4 for now, as it waits for
|
||||||
|
# ever to get a not-yet-existing network connection.
|
||||||
|
if [[ "$kiwi_profiles" == *"RaspberryPi" ]]; then
|
||||||
# Make sure jeos-firstboot can rely on synced time (bsc#1129730)
|
# Make sure jeos-firstboot can rely on synced time (bsc#1129730)
|
||||||
systemctl enable chrony-wait.service
|
systemctl enable chrony-wait.service
|
||||||
fi
|
fi
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 25 09:16:36 UTC 2019 - Matthias Brugger <mbrugger@suse.com>
|
||||||
|
|
||||||
|
- Add support for RPi4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 30 07:56:11 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Mon Sep 30 07:56:11 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user