summaryrefslogtreecommitdiffstats
path: root/meta/packages/e2fsprogs/e2fsprogs-1.41.5/no-hardlinks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/e2fsprogs/e2fsprogs-1.41.5/no-hardlinks.patch')
-rw-r--r--meta/packages/e2fsprogs/e2fsprogs-1.41.5/no-hardlinks.patch127
1 files changed, 127 insertions, 0 deletions
diff --git a/meta/packages/e2fsprogs/e2fsprogs-1.41.5/no-hardlinks.patch b/meta/packages/e2fsprogs/e2fsprogs-1.41.5/no-hardlinks.patch
new file mode 100644
index 0000000000..65bb498ea7
--- /dev/null
+++ b/meta/packages/e2fsprogs/e2fsprogs-1.41.5/no-hardlinks.patch
@@ -0,0 +1,127 @@
1---
2 e2fsck/Makefile.in | 24 ++++++++----------------
3 lib/uuid/Makefile.in | 4 ++--
4 misc/Makefile.in | 30 ++++++++++--------------------
5 3 files changed, 20 insertions(+), 38 deletions(-)
6
7Index: e2fsprogs-1.41.5/misc/Makefile.in
8===================================================================
9--- e2fsprogs-1.41.5.orig/misc/Makefile.in 2009-05-18 00:54:07.000000000 +0100
10+++ e2fsprogs-1.41.5/misc/Makefile.in 2009-05-18 00:56:12.000000000 +0100
11@@ -394,24 +394,18 @@
12 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
13 done
14 @echo " LINK $(root_sbindir)/mkfs.ext2"
15- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
16- $(DESTDIR)$(root_sbindir)/mkfs.ext2
17+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) mke2fs mkfs.ext2)
18 @echo " LINK $(root_sbindir)/mkfs.ext3"
19- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
20- $(DESTDIR)$(root_sbindir)/mkfs.ext3
21+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) mke2fs mkfs.ext3)
22 @echo " LINK $(root_sbindir)/mkfs.ext4"
23- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
24- $(DESTDIR)$(root_sbindir)/mkfs.ext4
25+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) mke2fs mkfs.ext4)
26 @echo " LINK $(root_sbindir)/mkfs.ext4dev"
27- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
28- $(DESTDIR)$(root_sbindir)/mkfs.ext4dev
29+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) mke2fs mkfs.ext4dev)
30 @echo " LINK $(root_sbindir)/e2label"
31- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
32- $(DESTDIR)$(root_sbindir)/e2label
33+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) tune2fs e2label)
34 @if test -n "$(FINDFS_LINK)"; then \
35 echo " LINK $(root_sbindir)/findfs"; \
36- $(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
37- $(DESTDIR)$(root_sbindir)/$(FINDFS_LINK); \
38+ (cd $(DESTDIR)$(root_sbindir) && $(LN_S) tune2fs $(FINDFS_LINK)); \
39 fi
40 @for i in $(UPROGS); do \
41 echo " INSTALL $(bindir)/$$i"; \
42@@ -431,17 +425,13 @@
43 @$(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
44 $(DESTDIR)$(man8dir)/mkfs.ext3.8.gz
45 @echo " LINK mkfs.ext2.8"
46- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
47- $(DESTDIR)$(man8dir)/mkfs.ext2.8
48+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext2.8)
49 @echo " LINK mkfs.ext3.8"
50- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
51- $(DESTDIR)$(man8dir)/mkfs.ext3.8
52+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext3.8)
53 @echo " LINK mkfs.ext4.8"
54- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
55- $(DESTDIR)$(man8dir)/mkfs.ext4.8
56+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext4.8)
57 @echo " LINK mkfs.ext4dev.8"
58- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
59- $(DESTDIR)$(man8dir)/mkfs.ext4dev.8
60+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f mke2fs.8 mkfs.ext4dev.8)
61 @for i in $(UMANPAGES); do \
62 for j in $(COMPRESS_EXT); do \
63 $(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
64Index: e2fsprogs-1.41.5/lib/uuid/Makefile.in
65===================================================================
66--- e2fsprogs-1.41.5.orig/lib/uuid/Makefile.in 2009-05-18 00:54:07.000000000 +0100
67+++ e2fsprogs-1.41.5/lib/uuid/Makefile.in 2009-05-18 00:54:07.000000000 +0100
68@@ -146,9 +146,9 @@
69 @$(RM) -f $(DESTDIR)$(man3dir)/uuid_generate_random.3.gz \
70 $(DESTDIR)$(man3dir)/uuid_generate_time.3.gz
71 @echo " LINK $(man3dir)/uuid_generate_random.3"
72- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3
73+ @(cd $(DESTDIR)$(man3dir) && $(LN_S) -f uuid_generate.3 uuid_generate_random.3)
74 @echo " LINK $(man3dir)/uuid_generate_time.3"
75- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3
76+ @(cd $(DESTDIR)$(man3dir) && $(LN_S) -f uuid_generate.3 uuid_generate_time.3)
77 @echo " INSTALL_DATA $(libdir)/pkgconfig/uuid.pc"
78 @$(INSTALL_DATA) uuid.pc $(DESTDIR)$(libdir)/pkgconfig/uuid.pc
79
80Index: e2fsprogs-1.41.5/e2fsck/Makefile.in
81===================================================================
82--- e2fsprogs-1.41.5.orig/e2fsck/Makefile.in 2009-05-18 00:54:07.000000000 +0100
83+++ e2fsprogs-1.41.5/e2fsck/Makefile.in 2009-05-18 00:54:07.000000000 +0100
84@@ -195,17 +195,13 @@
85 $(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
86 done
87 @echo " LINK $(root_sbindir)/fsck.ext2"
88- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
89- $(DESTDIR)$(root_sbindir)/fsck.ext2
90+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext2)
91 @echo " LINK $(root_sbindir)/fsck.ext3"
92- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
93- $(DESTDIR)$(root_sbindir)/fsck.ext3
94+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext3)
95 @echo " LINK $(root_sbindir)/fsck.ext4"
96- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
97- $(DESTDIR)$(root_sbindir)/fsck.ext4
98+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext4)
99 @echo " LINK $(root_sbindir)/fsck.ext4dev"
100- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
101- $(DESTDIR)$(root_sbindir)/fsck.ext4dev
102+ @(cd $(DESTDIR)$(root_sbindir) && $(LN_S) -f e2fsck fsck.ext4dev)
103 @for i in $(MANPAGES); do \
104 for j in $(COMPRESS_EXT); do \
105 $(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
106@@ -221,17 +217,13 @@
107 $(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
108 done
109 @echo " LINK $(man8dir)/fsck.ext2.8"
110- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
111- $(DESTDIR)$(man8dir)/fsck.ext2.8
112+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext2.8)
113 @echo " LINK $(man8dir)/fsck.ext3.8"
114- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
115- $(DESTDIR)$(man8dir)/fsck.ext3.8
116+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext3.8)
117 @echo " LINK $(man8dir)/fsck.ext4.8"
118- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
119- $(DESTDIR)$(man8dir)/fsck.ext4.8
120+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext4.8)
121 @echo " LINK $(man8dir)/fsck.ext4.8"
122- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
123- $(DESTDIR)$(man8dir)/fsck.ext4dev.8
124+ @(cd $(DESTDIR)$(man8dir) && $(LN_S) -f e2fsck.8 fsck.ext4dev.8)
125
126 install-strip: install
127 @for i in $(PROGS); do \