meta-virtualization/recipes-extended/xvisor/files/0001-build-use-usr-bin-env-for-python-scripts.patch
Bruce Ashfield 2119189361 treewide: bulk update patches with status field
While the insane.bbclass upstream-status check hasn't been made
default, users of meta-virtualization may have it enabled in their
distros .. so the effect is the same. We must have this tracking
tag in out patches.

This is a bulk update to add the tag and silence the QA message.

As packages get updated, the normal/routine process of checking
the patches will continue, and the status fields may (or may not)
get more useful.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-27 10:32:06 -05:00

39 lines
1.0 KiB
Diff

From eb351ca63a86f53cfb18987284a1445d543dfe56 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Mon, 29 Nov 2021 17:20:00 -0500
Subject: [PATCH] build: use /usr/bin/env for python scripts
Without this, we break on hosts without /usr/bin/python
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
tools/scripts/d2c.py | 2 +-
tools/scripts/memimg.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/scripts/d2c.py b/tools/scripts/d2c.py
index b46a7bc4..0a6bce08 100755
--- a/tools/scripts/d2c.py
+++ b/tools/scripts/d2c.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
#/**
# Copyright (c) 2013 Anup Patel.
# All rights reserved.
diff --git a/tools/scripts/memimg.py b/tools/scripts/memimg.py
index 423c9c33..ba2f06cb 100755
--- a/tools/scripts/memimg.py
+++ b/tools/scripts/memimg.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
#/**
# Copyright (c) 2011 Anup Patel.
# All rights reserved.
--
2.19.1