Reiserfsprogs
PATCH 1/1 Reiserfsprogs
1234567890123456789012345678901234567890123456789012345678901234567890 This patch was attempted earlier by Rod Boyce:
All,
Attached is a patch that adds reiserfsprogs to build root.
Regards,
Rod Boyce
Index: package/Config.in
I have tweaked it to make it fit into the latest git repo.
This patch adds support for reiserfsprogs.
---
package/Config.in +1 -0
@@ -180,6 +180,7 @@ source "package/mtools/Config.in" source "package/nfs-utils/Config.in" source "package/ntfs-3g/Config.in" + source "package/reiserfsprogs/Config.in" source "package/simicsfs/Config.in" source "package/sp-oops-extract/Config.in" source "package/squashfs/Config.in"
package/reiserfsprogs/Config.in +36 -0
@@ -0,0 +1,36 @@ + +config BR2_PACKAGE_REISERFSPROGS + bool "reiserfsprogs" + select BR2_PACKAGE_ACL + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_E2FSPROGS + help + The reiserfs file system utilities. + + https://reiser4.wiki.kernel.org/index.php/Main_Page + +if BR2_PACKAGE_REISERFSPROGS + +config BR2_PACKAGE_REISERFSPROGS_MKREISERFS + bool "mkreiserfs" + default y + +config BR2_PACKAGE_REISERFSPROGS_REISERFSCK + bool "reiserfsck" + default y + +config BR2_PACKAGE_REISERFSPROGS_RESIZE_REISERFS + bool "resize_reiserfs" + default y + +config BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE + bool "reiserfstune" + default y + +config BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS + bool "debugreiserfs" + default y + +endif
package/reiserfsprogs/Config.in.host +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_REISERFSPROGS + bool "host reiserfsprogs" + help + The reiserfs file system utilities. + + https://reiser4.wiki.kernel.org/index.php/Main_Page
package/reiserfsprogs/reiserfsprogs.mk +32 -0
@@ -0,0 +1,32 @@ +################################################################################ +# +# reiserfsprogs +# +################################################################################ + +REISERFSPROGS_VERSION = 3.6.25 +REISERFSPROGS_SITE = ftp://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$(REISERFSPROGS_VERSION) +REISERFSPROGS_LICENSE = GPLv2 +REISERFSPROGS_LICENSE_FILES = COPYING README +REISERFSPROGS_CONF_ENV = LIBS='-lcom_err -luuid -lpthread -lrt' +REISERFSPROGS_DEPENDENCIES = util-linux e2fsprogs acl + +# binaries to keep or remove +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_MKREISERFS) += usr/local/sbin/mkreiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_MKREISERFS) += usr/local/sbin/mkfs.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSCK) += usr/local/sbin/reiserfsck +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSCK) += usr/local/sbin/fsck.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_RESIZE_REISERFS) += usr/local/sbin/resize_reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE) += usr/local/sbin/reiserfstune +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE) += usr/local/sbin/tunefs.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS) += usr/local/sbin/debugreiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS) += usr/local/sbin/debugfs.reiserfs + +define REISERFSPROGS_TARGET_REMOVE_UNNEEDED + rm -f $(addprefix $(TARGET_DIR)/, $(REISERFSPROGS_BINTARGETS_)) +endef + +REISERFSPROGS_POST_INSTALL_TARGET_HOOKS += REISERFSPROGS_TARGET_REMOVE_UNNEEDED + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))
PATCH 1/1 Reiserfsprogs
Hate it when I leave my ruler across the top.
If you want me to resubmit, no problem there.
I really hate using M$ LookOut!
Andy
Quoted 128 lines
-----Original Message-----
From: buildroot [mailto:buildroot-bounces at busybox.net] On Behalf Of ANDY KENNEDY
Sent: Monday, June 27, 2016 1:46 PM
To: 'buildroot at busybox.net'
Subject: [Buildroot] [PATCH] Reiserfsprogs1234567890123456789012345678901234567890123456789012345678901234567890 This patch was attempted earlier by Rod Boyce:
All,
Attached is a patch that adds reiserfsprogs to build root.
Regards,
Rod Boyce
Index: package/Config.inI have tweaked it to make it fit into the latest git repo.
This patch adds support for reiserfsprogs.
Signed-off-by Andy Kennedy <[email protected]>---
diff -Naur a/package/Config.in b/package/Config.inpackage/Config.in +1
-0@@ -180,6 +180,7 @@ source "package/mtools/Config.in" source "package/nfs-utils/Config.in" source "package/ntfs-3g/Config.in" + source "package/reiserfsprogs/Config.in" source "package/simicsfs/Config.in" source "package/sp-oops-extract/Config.in" source "package/squashfs/Config.in"diff -Naur a/package/reiserfsprogs/Config.in b/package/reiserfsprogs/Config.in
package/reiserfsprogs/Config.in +36
-0@@ -0,0 +1,36 @@ + +config BR2_PACKAGE_REISERFSPROGS + bool "reiserfsprogs" + select BR2_PACKAGE_ACL + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_E2FSPROGS + help + The reiserfs file system utilities. + + https://reiser4.wiki.kernel.org/index.php/Main_Page + +if BR2_PACKAGE_REISERFSPROGS + +config BR2_PACKAGE_REISERFSPROGS_MKREISERFS + bool "mkreiserfs" + default y + +config BR2_PACKAGE_REISERFSPROGS_REISERFSCK + bool "reiserfsck" + default y + +config BR2_PACKAGE_REISERFSPROGS_RESIZE_REISERFS + bool "resize_reiserfs" + default y + +config BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE + bool "reiserfstune" + default y + +config BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS + bool "debugreiserfs" + default y + +endifdiff -Naur a/package/reiserfsprogs/Config.in.host b/package/reiserfsprogs/Config.in.host
package/reiserfsprogs/Config.in.host +6
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_REISERFSPROGS + bool "host reiserfsprogs" + help + The reiserfs file system utilities. + + https://reiser4.wiki.kernel.org/index.php/Main_Pagediff -Naur
a/package/reiserfsprogs/reiserfsprogs.mkb/package/reiserfsprogs/reiserfsprogs.mkpackage/reiserfsprogs/reiserfsprogs.mk +8
-0@@ -0,0 +1,32 @@ +################################################################################ +# +# reiserfsprogs +# +################################################################################ + +REISERFSPROGS_VERSION = 3.6.25 +REISERFSPROGS_SITE =ftp://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$(REISERFSPROGS_VERSION)
package/reiserfsprogs/reiserfsprogs.mk +11
-0+REISERFSPROGS_LICENSE = GPLv2 +REISERFSPROGS_LICENSE_FILES = COPYING README +REISERFSPROGS_CONF_ENV = LIBS='-lcom_err -luuid -lpthread -lrt' +REISERFSPROGS_DEPENDENCIES = util-linux e2fsprogs acl + +# binaries to keep or remove +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_MKREISERFS) += usr/local/sbin/mkreiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_MKREISERFS) += usr/local/sbin/mkfs.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSCK) += usr/local/sbin/reiserfsck +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSCK) += usr/local/sbin/fsck.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_RESIZE_REISERFS) +=
usr/local/sbin/resize_reiserfspackage/reiserfsprogs/reiserfsprogs.mk +2
-0+REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE) += usr/local/sbin/reiserfstune +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE) +=
usr/local/sbin/tunefs.reiserfspackage/reiserfsprogs/reiserfsprogs.mk +2
-0+REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS) += usr/local/sbin/debugreiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS) +=
usr/local/sbin/debugfs.reiserfspackage/reiserfsprogs/reiserfsprogs.mk +9
-0+ +define REISERFSPROGS_TARGET_REMOVE_UNNEEDED + rm -f $(addprefix $(TARGET_DIR)/, $(REISERFSPROGS_BINTARGETS_)) +endef + +REISERFSPROGS_POST_INSTALL_TARGET_HOOKS += REISERFSPROGS_TARGET_REMOVE_UNNEEDED + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 1/1 Reiserfsprogs
In reply to ANDY KENNEDYHello,
Thanks for this patch. See my review below.
Quoted 7 lines · ANDY KENNEDY
1234567890123456789012345678901234567890123456789012345678901234567890 This patch was attempted earlier by Rod Boyce:
All,
Attached is a patch that adds reiserfsprogs to build root.
Quoted 7 lines
Regards,
Rod Boyce
Index: package/Config.inI have tweaked it to make it fit into the latest git repo.
This patch adds support for reiserfsprogs.
All of this commit log is not appropriate. It should just be:
reiserfsprogs: new package
and pretty much nothing else, except if you have other comments to add about the package. Remember that the commit log stays forever in the Git history of the project, so we don't need the "All, Attached is a patch ....".
Quoted 2 lines
Signed-off-by Andy Kennedy <[email protected]>
I am not sure your patch has been formatted using Git. Please use "git format-patch" to format your patch, and then "git send-email" to send it.
package/reiserfsprogs/Config.in line 1
Quoted 5 lines
diff -Naur a/package/reiserfsprogs/Config.in b/package/reiserfsprogs/Config.in
package/reiserfsprogs/Config.in +1
-0@@ -0,0 +1,36 @@ +
Unnecessary empty line.
package/reiserfsprogs/Config.in line 6
Quoted 5 lines
package/reiserfsprogs/Config.in +5
-0+config BR2_PACKAGE_REISERFSPROGS + bool "reiserfsprogs" + select BR2_PACKAGE_ACL + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
This dependency is not needed. reiserfsprogs doesn't use libblkid directly.
package/reiserfsprogs/Config.in line 8
Quoted 2 lines
package/reiserfsprogs/Config.in +2
-0+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_E2FSPROGS
Alphabetic ordering would be better.
Quoted 16 lines
package/reiserfsprogs/Config.in +16
-0+ help + The reiserfs file system utilities. + + https://reiser4.wiki.kernel.org/index.php/Main_Page + +if BR2_PACKAGE_REISERFSPROGS + +config BR2_PACKAGE_REISERFSPROGS_MKREISERFS + bool "mkreiserfs" + default y + +config BR2_PACKAGE_REISERFSPROGS_REISERFSCK + bool "reiserfsck" + default y + +config BR2_PACKAGE_REISERFSPROGS_RESIZE_REISERFS
package/reiserfsprogs/Config.in line 34
Quoted 10 lines
package/reiserfsprogs/Config.in +10
-0+ bool "resize_reiserfs" + default y + +config BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE + bool "reiserfstune" + default y + +config BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS + bool "debugreiserfs" + default y
Please remove all those sub-options, the size of each binary is not big enough to justify having sub-options:
lrwxrwxrwx 1 thomas thomas 13 juin 28 18:12 output/target/usr/sbin/debugfs.reiserfs -> debugreiserfs -rwxr-xr-x 1 thomas thomas 63372 juin 28 18:12 output/target/usr/sbin/debugreiserfs lrwxrwxrwx 1 thomas thomas 10 juin 28 18:12 output/target/usr/sbin/fsck.reiserfs -> reiserfsck lrwxrwxrwx 1 thomas thomas 10 juin 28 18:12 output/target/usr/sbin/mkfs.reiserfs -> mkreiserfs -rwxr-xr-x 1 thomas thomas 17248 juin 28 18:12 output/target/usr/sbin/mkreiserfs -rwxr-xr-x 1 thomas thomas 151456 juin 28 18:12 output/target/usr/sbin/reiserfsck -rwxr-xr-x 1 thomas thomas 16580 juin 28 18:12 output/target/usr/sbin/reiserfstune -rwxr-xr-x 1 thomas thomas 16748 juin 28 18:12 output/target/usr/sbin/resize_reiserfs lrwxrwxrwx 1 thomas thomas 12 juin 28 18:12 output/target/usr/sbin/tunefs.reiserfs -> reiserfstune
package/reiserfsprogs/Config.in.host line 6
Quoted 10 lines
diff -Naur a/package/reiserfsprogs/Config.in.host b/package/reiserfsprogs/Config.in.host
package/reiserfsprogs/Config.in.host +6
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_REISERFSPROGS + bool "host reiserfsprogs" + help + The reiserfs file system utilities. + + https://reiser4.wiki.kernel.org/index.php/Main_Page
I don't think it is useful to have a host variant for reiserfsprogs, except if you add support to generate a root filesystem image using reiserfs. But since that's a separate effort, I would suggest to just drop the host variant of the package for now.
package/reiserfsprogs/reiserfsprogs.mk line 8
Quoted 12 lines
diff -Naur
a/package/reiserfsprogs/reiserfsprogs.mkb/package/reiserfsprogs/reiserfsprogs.mkpackage/reiserfsprogs/reiserfsprogs.mk +8
-0@@ -0,0 +1,32 @@ +################################################################################ +# +# reiserfsprogs +# +################################################################################ + +REISERFSPROGS_VERSION = 3.6.25 +REISERFSPROGS_SITE = ftp://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$(REISERFSPROGS_VERSION)
Please use http:// instead of ftp://.
package/reiserfsprogs/reiserfsprogs.mk line 9
Quoted 1 line
package/reiserfsprogs/reiserfsprogs.mk +1
-0+REISERFSPROGS_LICENSE = GPLv2
The license is not exactly GPLv2. It is, according to the README file:
"""
ReiserFSprogs is hereby licensed under the GNU General Public License version 2 but with the following "Anti-Plagiarism" modification
"""
So, you should probably use:
REISERFSPROGS_LICENSE = GPLv2 with exceptions
package/reiserfsprogs/reiserfsprogs.mk line 11
Quoted 2 lines
package/reiserfsprogs/reiserfsprogs.mk +2
-0+REISERFSPROGS_LICENSE_FILES = COPYING README +REISERFSPROGS_CONF_ENV = LIBS='-lcom_err -luuid -lpthread -lrt'
This line is not needed.
package/reiserfsprogs/reiserfsprogs.mk line 12
Quoted 1 line
package/reiserfsprogs/reiserfsprogs.mk +1
-0+REISERFSPROGS_DEPENDENCIES = util-linux e2fsprogs acl
Alphabetic ordering is preferred.
package/reiserfsprogs/reiserfsprogs.mk line 23
Quoted 11 lines
package/reiserfsprogs/reiserfsprogs.mk +11
-0+ +# binaries to keep or remove +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_MKREISERFS) += usr/local/sbin/mkreiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_MKREISERFS) += usr/local/sbin/mkfs.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSCK) += usr/local/sbin/reiserfsck +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSCK) += usr/local/sbin/fsck.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_RESIZE_REISERFS) += usr/local/sbin/resize_reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE) += usr/local/sbin/reiserfstune +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE) += usr/local/sbin/tunefs.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS) += usr/local/sbin/debugreiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS) += usr/local/sbin/debugfs.reiserfs
All those lines are useless, there is nothing installed in usr/local/sbin, everything is installed in usr/sbin. Also, as per my suggestion to drop the sub-options, those lines are in fact not necessary.
package/reiserfsprogs/reiserfsprogs.mk line 32
Quoted 9 lines
package/reiserfsprogs/reiserfsprogs.mk +9
-0+ +define REISERFSPROGS_TARGET_REMOVE_UNNEEDED + rm -f $(addprefix $(TARGET_DIR)/, $(REISERFSPROGS_BINTARGETS_)) +endef + +REISERFSPROGS_POST_INSTALL_TARGET_HOOKS += REISERFSPROGS_TARGET_REMOVE_UNNEEDED + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))
And drop this last line, since the host variant is probably not useful.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 Reiserfsprogs
Quoted 10 lines
-----Original Message-----
From: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com]
Sent: Tuesday, June 28, 2016 11:19 AM
To: ANDY KENNEDY
Cc: 'buildroot at busybox.net'
Subject: Re: [Buildroot] [PATCH] ReiserfsprogsHello,
Thanks for this patch. See my review below.
Thomas,
Got it. Thanks for the detailed review.
I'll make the changes and resubmit. I didn't change much from what Rod had done, but do not disagree with your changes.
A couple of questions below.
Andy
Quoted 27 lines · ANDY KENNEDY
Quoted 7 lines
1234567890123456789012345678901234567890123456789012345678901234567890 This patch was attempted earlier by Rod Boyce:
All,
Attached is a patch that adds reiserfsprogs to build root.
Quoted 7 lines
Regards,
Rod Boyce
Index: package/Config.inI have tweaked it to make it fit into the latest git repo.
This patch adds support for reiserfsprogs.
All of this commit log is not appropriate. It should just be:
reiserfsprogs: new package
and pretty much nothing else, except if you have other comments to add about the package. Remember that the commit log stays forever in the Git history of the project, so we don't need the "All, Attached is a patch ....".
Quoted 1 line
Quoted 5 lines
Quoted 1 line
Signed-off-by Andy Kennedy <[email protected]>I am not sure your patch has been formatted using Git. Please use "git format-patch" to format your patch, and then "git send-email" to send it.
What was the formatting problem? I'm not using git to do the formatting, but a side-by-side diff of the directories. Also, doesn't git send-email require direct access to SMTP from the workstation? I don't have that.
And, if you want the absolute truth of the matter, I'm not a git user and struggle with using it (so, pointers for the "right way" would not be taken as patronizing -- I'm okay with spoon feeding).
Quoted 108 lines
package/reiserfsprogs/Config.in line 1
Quoted 6 lines
diff -Naur a/package/reiserfsprogs/Config.in b/package/reiserfsprogs/Config.in
package/reiserfsprogs/Config.in +1
-0@@ -0,0 +1,36 @@ +Unnecessary empty line.
package/reiserfsprogs/Config.in line 6
Quoted 5 lines
package/reiserfsprogs/Config.in +5
-0+config BR2_PACKAGE_REISERFSPROGS + bool "reiserfsprogs" + select BR2_PACKAGE_ACL + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBBLKIDThis dependency is not needed. reiserfsprogs doesn't use libblkid directly.
package/reiserfsprogs/Config.in line 8
Quoted 2 lines
package/reiserfsprogs/Config.in +2
-0+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_E2FSPROGSAlphabetic ordering would be better.
Quoted 16 lines
package/reiserfsprogs/Config.in +16
-0+ help + The reiserfs file system utilities. + + https://reiser4.wiki.kernel.org/index.php/Main_Page + +if BR2_PACKAGE_REISERFSPROGS + +config BR2_PACKAGE_REISERFSPROGS_MKREISERFS + bool "mkreiserfs" + default y + +config BR2_PACKAGE_REISERFSPROGS_REISERFSCK + bool "reiserfsck" + default y + +config BR2_PACKAGE_REISERFSPROGS_RESIZE_REISERFSpackage/reiserfsprogs/Config.in line 34
Quoted 10 lines
package/reiserfsprogs/Config.in +10
-0+ bool "resize_reiserfs" + default y + +config BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE + bool "reiserfstune" + default y + +config BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS + bool "debugreiserfs" + default yPlease remove all those sub-options, the size of each binary is not big enough to justify having sub-options:
lrwxrwxrwx 1 thomas thomas 13 juin 28 18:12 output/target/usr/sbin/debugfs.reiserfs ->
debugreiserfs-rwxr-xr-x 1 thomas thomas 63372 juin 28 18:12 output/target/usr/sbin/debugreiserfs lrwxrwxrwx 1 thomas thomas 10 juin 28 18:12 output/target/usr/sbin/fsck.reiserfs -> reiserfsck lrwxrwxrwx 1 thomas thomas 10 juin 28 18:12 output/target/usr/sbin/mkfs.reiserfs -> mkreiserfs(quoted diff) +0
-4-rwxr-xr-x 1 thomas thomas 17248 juin 28 18:12 output/target/usr/sbin/mkreiserfs -rwxr-xr-x 1 thomas thomas 151456 juin 28 18:12 output/target/usr/sbin/reiserfsck -rwxr-xr-x 1 thomas thomas 16580 juin 28 18:12 output/target/usr/sbin/reiserfstune -rwxr-xr-x 1 thomas thomas 16748 juin 28 18:12 output/target/usr/sbin/resize_reiserfslrwxrwxrwx 1 thomas thomas 12 juin 28 18:12 output/target/usr/sbin/tunefs.reiserfs ->
reiserfstunepackage/reiserfsprogs/Config.in.host line 6
Quoted 10 lines
diff -Naur a/package/reiserfsprogs/Config.in.host b/package/reiserfsprogs/Config.in.host
package/reiserfsprogs/Config.in.host +6
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_REISERFSPROGS + bool "host reiserfsprogs" + help + The reiserfs file system utilities. + + https://reiser4.wiki.kernel.org/index.php/Main_PageI don't think it is useful to have a host variant for reiserfsprogs, except if you add support to generate a root filesystem image using reiserfs. But since that's a separate effort, I would suggest to just drop the host variant of the package for now.
package/reiserfsprogs/reiserfsprogs.mk line 8
Quoted 12 lines
diff -Naur
a/package/reiserfsprogs/reiserfsprogs.mkb/package/reiserfsprogs/reiserfsprogs.mkpackage/reiserfsprogs/reiserfsprogs.mk +8
-0@@ -0,0 +1,32 @@ +################################################################################ +# +# reiserfsprogs +# +################################################################################ + +REISERFSPROGS_VERSION = 3.6.25 +REISERFSPROGS_SITE =ftp://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$(REISERFSPROGS_VERSION)
Please use http:// instead of ftp://.
package/reiserfsprogs/reiserfsprogs.mk line 9
Quoted 1 line
package/reiserfsprogs/reiserfsprogs.mk +1
-0+REISERFSPROGS_LICENSE = GPLv2The license is not exactly GPLv2. It is, according to the README file:
"""
ReiserFSprogs is hereby licensed under the GNU General Public License version 2 but with the following "Anti-Plagiarism" modification
"""So, you should probably use:
Quoted 7 lines
REISERFSPROGS_LICENSE= GPLv2 with exceptionspackage/reiserfsprogs/reiserfsprogs.mk line 11
Quoted 2 lines
package/reiserfsprogs/reiserfsprogs.mk +2
-0+REISERFSPROGS_LICENSE_FILES = COPYING README +REISERFSPROGS_CONF_ENV = LIBS='-lcom_err -luuid -lpthread -lrt'This line is not needed.
What is the preferred way to make those LDFLAGS go through? I have tried it multiple ways and could only make it work using the LIBS=... for the configure env. Without this line, reiserfsprogs doesn't build.
Quoted 45 lines
package/reiserfsprogs/reiserfsprogs.mk line 12
Quoted 2 lines
package/reiserfsprogs/reiserfsprogs.mk +1
-0+REISERFSPROGS_DEPENDENCIES = util-linux e2fsprogs aclAlphabetic ordering is preferred.
package/reiserfsprogs/reiserfsprogs.mk
Quoted 7 lines
package/reiserfsprogs/reiserfsprogs.mk +7
-0+ +# binaries to keep or remove +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_MKREISERFS) += usr/local/sbin/mkreiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_MKREISERFS) += usr/local/sbin/mkfs.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSCK) += usr/local/sbin/reiserfsck +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSCK) += usr/local/sbin/fsck.reiserfs +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_RESIZE_REISERFS) +=
usr/local/sbin/resize_reiserfspackage/reiserfsprogs/reiserfsprogs.mk line 21
Quoted 2 lines
package/reiserfsprogs/reiserfsprogs.mk +2
-0+REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE) += usr/local/sbin/reiserfstune +REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_REISERFSTUNE) +=
usr/local/sbin/tunefs.reiserfspackage/reiserfsprogs/reiserfsprogs.mk line 22
Quoted 1 line
package/reiserfsprogs/reiserfsprogs.mk +1
-0+REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS) +=
usr/local/sbin/debugreiserfspackage/reiserfsprogs/reiserfsprogs.mk line 23
Quoted 1 line
package/reiserfsprogs/reiserfsprogs.mk +1
-0+REISERFSPROGS_BINTARGETS_$(BR2_PACKAGE_REISERFSPROGS_DEBUGREISERFS) +=
usr/local/sbin/debugfs.reiserfsAll those lines are useless, there is nothing installed in
usr/local/sbin, everything is installed in usr/sbin. Also, as per my suggestion to drop the sub-options, those lines are in fact not necessary.package/reiserfsprogs/reiserfsprogs.mk line 32
Quoted 9 lines
package/reiserfsprogs/reiserfsprogs.mk +9
-0+ +define REISERFSPROGS_TARGET_REMOVE_UNNEEDED + rm -f $(addprefix $(TARGET_DIR)/, $(REISERFSPROGS_BINTARGETS_)) +endef + +REISERFSPROGS_POST_INSTALL_TARGET_HOOKS += REISERFSPROGS_TARGET_REMOVE_UNNEEDED + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))And drop this last line, since the host variant is probably not useful.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
PATCH 1/1 Reiserfsprogs
Hello,
Quoted 7 lines · ANDY KENNEDY
What was the formatting problem? I'm not using git to do the formatting, but a side-by-side diff of the directories. Also, doesn't git send-email require direct access to SMTP from the workstation? I don't have that.
And, if you want the absolute truth of the matter, I'm not a git user and struggle with using it (so, pointers for the "right way" would not be taken as patronizing -- I'm okay with spoon feeding).
It just didn't appear as a Git formatted patch. You should really spend a little bit of time learning git format-patch / send-email, you'll save a lot of time down the road if you use the proper workflow.
Yes, "git send-email" requires a SMTP server, but if you have a GMail account, then you have a SMTP server available.
Quoted 9 lines
Quoted 4 lines
package/reiserfsprogs/reiserfsprogs.mk line 11
Quoted 2 lines
package/reiserfsprogs/reiserfsprogs.mk +2
-0+REISERFSPROGS_LICENSE_FILES = COPYING README +REISERFSPROGS_CONF_ENV = LIBS='-lcom_err -luuid -lpthread -lrt'This line is not needed.
What is the preferred way to make those LDFLAGS go through? I have tried it multiple ways and could only make it work using the LIBS=... for the configure env. Without this line, reiserfsprogs doesn't build.
It build fine for me without it, as far as I remember.
If it really doesn't build, then we would ideally prefer a patch (which gets submitted upstream).
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 Reiserfsprogs
Quoted 21 lines
-----Original Message-----
From: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com]
Sent: Wednesday, June 29, 2016 5:04 AM
To: ANDY KENNEDY
Cc: 'buildroot at busybox.net'
Subject: Re: [Buildroot] [PATCH] ReiserfsprogsHello,
Quoted 7 lines · ANDY KENNEDY
What was the formatting problem? I'm not using git to do the formatting, but a side-by-side diff of the directories. Also, doesn't git send-email require direct access to SMTP from the workstation? I don't have that.
And, if you want the absolute truth of the matter, I'm not a git user and struggle with using it (so, pointers for the "right way" would not be taken as patronizing -- I'm okay with spoon feeding).
Quoted 6 lines
It just didn't appear as a Git formatted patch. You should really spend a little bit of time learning git format-patch / send-email, you'll save a lot of time down the road if you use the proper workflow.
Yes, "git send-email" requires a SMTP server, but if you have a GMail account, then you have a SMTP server available.
Yup, I should. However, with four kids, TKD, Cub Scouts, Boy Scouts, Girl Scouts, etc, I cannot find the time for _anything_ (though, this is not a complaint, just a reason).
My company blocks SMTP north-bound traffic. And, as you know, LookOut! is HORRIBLE for plain text e-mails. I just wanted to make sure that it wasn't missing tabs (as I manually have to put those into the patch when I paste it into my e-mail since the M$ clipboard "helps me" by replacing those EVIL tabs with more friendly spaces).
Quoted 11 lines
Quoted 10 lines
Quoted 5 lines
package/reiserfsprogs/reiserfsprogs.mk line 11
Quoted 3 lines
package/reiserfsprogs/reiserfsprogs.mk +2
-0+REISERFSPROGS_LICENSE_FILES = COPYING README +REISERFSPROGS_CONF_ENV = LIBS='-lcom_err -luuid -lpthread -lrt'This line is not needed.
What is the preferred way to make those LDFLAGS go through? I have tried it multiple ways and could only make it work using the LIBS=... for the configure env. Without this line, reiserfsprogs doesn't build.
Quoted 4 lines
It build fine for me without it, as far as I remember.
If it really doesn't build, then we would ideally prefer a patch (which gets submitted upstream).
::heavy sigh::
Okay, I'll figure out how to construct that so that on -static builds, it does the "right thing" and attempt to push it back to Jeff. I was hoping to side step that issue since the LIBS=... didn't really hurt anything for dynamic builds as the dynamic linker ignores most of those anyway.
Another question: Having been dinged in the past for resubmission errors, is the current proper way to construct the resubmit:
------------------------------------------------------------
Subject: [PATCH V2] Reiserfsprogs
reiserfsprogs: new package
---
<patch contents>
------------------------------------------------------------
and should this be a reply to the original thread or a new thread?
Thanks,
Andy
Quoted 8 lines
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
PATCH 1/1 Reiserfsprogs
Hello,
Quoted 3 lines · ANDY KENNEDY
Yup, I should. However, with four kids, TKD, Cub Scouts, Boy Scouts, Girl Scouts, etc, I cannot find the time for _anything_ (though, this is not a complaint, just a reason).
Ah, ah real life issues :-)
Quoted 6 lines
My company blocks SMTP north-bound traffic. And, as you know, LookOut! is HORRIBLE for plain text e-mails. I just wanted to make sure that it wasn't missing tabs (as I manually have to put those into the patch when I paste it into my e-mail since the M$ clipboard "helps me" by replacing those EVIL tabs with more friendly spaces).
The time you lose fighting with those stupid tools most likely largely outweighs the time needed to set up once for all a working SMTP system.
Quoted 5 lines
Okay, I'll figure out how to construct that so that on -static builds, it does the "right thing" and attempt to push it back to Jeff. I was hoping to side step that issue since the LIBS=... didn't really hurt anything for dynamic builds as the dynamic linker ignores most of those anyway.
This was really just a preference. Mention that it's needed for static builds, because for dynamic builds, it wasn't needed.
Quoted 6 lines
Another question: Having been dinged in the past for resubmission errors, is the current proper way to construct the resubmit:
------------------------------------------------------------
Subject: [PATCH V2] Reiserfsprogs
No, this should be:
[PATCH v2] reiserfsprogs: new package
git format-patch automatically takes the first line of the commit log as the e-mail subject.
Quoted 2 lines
and should this be a reply to the original thread or a new thread?
A new thread.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com