From 6d9bfef54253c4b86ecfb5e8f185cc97d3c204dd Mon Sep 17 00:00:00 2001 From: wan-nan Date: Tue, 9 Jan 2024 19:33:48 +0800 Subject: [PATCH 1/2] modify repo of linux-cosmic (cherry picked from commit bfb0ef296986a5b9adc3784ba85b361ef85c3763) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 78f8e871..05b49966 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ build-db: awk -f postproc-fndb.awk | sed 's/^\.\///' >filename.db setup-linux: - git clone --depth=1 git://kernel.ubuntu.com/ubuntu/ubuntu-cosmic.git $(linux) + git clone --depth=1 https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/cosmic $(linux) cd $(linux) && \ git apply -v ../patches/watchdog.patch make remove-makefile-escaped-newlines From 45922cf3381839acc36daa1edaf618a7c5edcac8 Mon Sep 17 00:00:00 2001 From: wan-nan Date: Fri, 3 May 2024 22:11:35 +0800 Subject: [PATCH 2/2] fix(shell-script): add 'depmod' and `#!/bin/bash` (cherry picked from commit 7a71a41a3592c9daec9fb1d0cf28a433c96a47d0) --- benchmark-scripts/general-helper.sh | 1 + install_mysql_host.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/benchmark-scripts/general-helper.sh b/benchmark-scripts/general-helper.sh index 58cab64b..5c5bebbb 100755 --- a/benchmark-scripts/general-helper.sh +++ b/benchmark-scripts/general-helper.sh @@ -13,6 +13,7 @@ mount_fs() { } enable_network() { + depmod modprobe e1000; hostname qemu echo "127.0.0.1 localhost.localdomain localhost" > /etc/hosts diff --git a/install_mysql_host.sh b/install_mysql_host.sh index ed4e3bcf..7962ed6e 100755 --- a/install_mysql_host.sh +++ b/install_mysql_host.sh @@ -1,3 +1,4 @@ +#!/bin/bash source constant.sh #Would you like to setup VALIDATE PASSWORD plugin? NO #New password: root