[yocto] [meta-raspberrypi][PATCH] linux-raspberrypi-base.bbclass: remove version hack

Andreas Müller schnitzeltony at googlemail.com
Mon Dec 12 15:55:58 PST 2016


On Mon, Dec 12, 2016 at 11:33 PM, Petter Mabäcker <petter at technux.se> wrote:
> 2016-12-12 06:21 skrev Khem Raj:
>
> On Thu, Dec 8, 2016 at 2:40 AM, Andreas Müller
> <schnitzeltony at googlemail.com> wrote:
>
> * no more required (version > 3.17 | > 4.3.x | > 4.4.5) * causes error with
> rt kernel
>
> I think this is ok to apply now.
>
> Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com> ---
> classes/linux-raspberrypi-base.bbclass | 15 --------------- 1 file changed,
> 15 deletions(-) diff --git a/classes/linux-raspberrypi-base.bbclass
> b/classes/linux-raspberrypi-base.bbclass index 3a6e33d..dc2330a 100644 ---
> a/classes/linux-raspberrypi-base.bbclass +++
> b/classes/linux-raspberrypi-base.bbclass @@ -14,21 +14,6 @@ def get_dts(d,
> ver=None): from the kernel staging ''' ver =
> get_kernelversion_file(staging_dir) - if ver is not None: - min_ver =
> ver.split('.', 3) - else: - return dts - - # Always turn off device tree
> support for kernel's < 3.18 - try: - if int(min_ver[0]) >= 4: - if
> (int(min_ver[1]) < 4) or (int(min_ver[1]) == 4 and int(min_ver[2]) < 6): -
> dts = ' '.join([(re.sub(r'(.*)\.dtbo$', r'\1-overlay.dtb', x)) for x in
> dts.split()]) - elif int(min_ver[1]) < 18: - dts = "" - except IndexError: -
> min_ver = None - return dts -- 2.7.4 --
> _______________________________________________ yocto mailing list
> yocto at yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
>
> I think you should go even one step further and revert the entire commit
> merging this obsolete functionality: "git revert
> 4a4373c02d3d8355a2e5faa10af61450e5b093d8" .
>
> BR Petter
To be honest: I have forked meta-raspberrypi and don't use it any
more. Just wanted to be a good boy. So maybe you want to send the
revert here?

Andreas



More information about the yocto mailing list