summaryrefslogtreecommitdiff
path: root/system/mkinitfs/0001-initramfs-do-not-relocate-mountpoint-for-netboot.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-14 01:58:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-14 01:58:53 +0000
commite96aa174860614b69b9e8f084b3f0cbe214163c1 (patch)
treef50a183ed97b5cb2cb02e80bc408ce5b6a48ec61 /system/mkinitfs/0001-initramfs-do-not-relocate-mountpoint-for-netboot.patch
parent6222744c490dc72725976f1fe3024742c16e34ee (diff)
downloadpackages-e96aa174860614b69b9e8f084b3f0cbe214163c1.tar.gz
packages-e96aa174860614b69b9e8f084b3f0cbe214163c1.tar.bz2
packages-e96aa174860614b69b9e8f084b3f0cbe214163c1.tar.xz
packages-e96aa174860614b69b9e8f084b3f0cbe214163c1.zip
system/mkinitfs: delete from repository
Diffstat (limited to 'system/mkinitfs/0001-initramfs-do-not-relocate-mountpoint-for-netboot.patch')
-rw-r--r--system/mkinitfs/0001-initramfs-do-not-relocate-mountpoint-for-netboot.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/system/mkinitfs/0001-initramfs-do-not-relocate-mountpoint-for-netboot.patch b/system/mkinitfs/0001-initramfs-do-not-relocate-mountpoint-for-netboot.patch
deleted file mode 100644
index e6e580a14..000000000
--- a/system/mkinitfs/0001-initramfs-do-not-relocate-mountpoint-for-netboot.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 1d115251816a3f83a008883f1b9665c3d8f4d3a4 Mon Sep 17 00:00:00 2001
-From: Carlo Landmeter <clandmeter@alpinelinux.org>
-Date: Tue, 20 Feb 2018 10:18:11 +0000
-Subject: [PATCH] initramfs: do not relocate mountpoint for netboot
-
-mountpoint cannot be located when repo is external.
----
- initramfs-init.in | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/initramfs-init.in b/initramfs-init.in
-index 95fcd97..bf2d9bd 100755
---- a/initramfs-init.in
-+++ b/initramfs-init.in
-@@ -221,6 +221,10 @@ relocate_mount() {
- return
- fi
- while read dir; do
-+ # skip http(s)/ftp repos for netboot
-+ if ! [ -d "$dir" ]; then
-+ continue
-+ fi
- local dev=$(df -P "$dir" | tail -1 | awk '{print $1}')
- local mnt=$(find_mnt $dev $fstab)
- if [ -n "$mnt" ]; then
---
-2.16.1
-