stress-ng: add a patch to remove unneeded bash dependency

(From OE-Core rev: ea052d11b9ebe113ca392e092c2dd530573ac294)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2019-08-07 12:29:34 +02:00
committed by Richard Purdie
parent 8195341e9e
commit 6c966021b9
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
From 042147675c7c2ea7dd65b2597f2e350376a710aa Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 6 Aug 2019 17:28:56 +0200
Subject: [PATCH] bash-completion: remove the shebang at the start
bash completion files do not need to specify that.
Upstream-Status: Pending
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
bash-completion/stress-ng | 2 --
1 file changed, 2 deletions(-)
diff --git a/bash-completion/stress-ng b/bash-completion/stress-ng
index 8b1421c..7f195be 100755
--- a/bash-completion/stress-ng
+++ b/bash-completion/stress-ng
@@ -1,5 +1,3 @@
-#!/bin/bash
-#
# stress-ng tab completion for bash.
#
# Copyright (C) 2019 Canonical

View File

@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "https://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \
file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \
file://0001-bash-completion-remove-the-shebang-at-the-start.patch \
"
SRC_URI[md5sum] = "46aa41d37690324ceab4febfcc549018"
SRC_URI[sha256sum] = "d09dd2a1aea549e478995bf9be90b38906a4cdf33ea7b245ef9d46aa5213c074"