Commit Graph

445 Commits (d6adf070b0e85f209c0d7f310188b134b5cb7180)

Author SHA1 Message Date
Theodore Ts'o 7f2c7495e3 debian: use dh_strip --dbg-package to populate the dbg packages
Use the --dbg-package option instead of manually moving the files into
the debug packages.  This is simpler to maintain, and avoids a problem
where creating directories using mkdir -p can create world-writeable
/usr/lib directory dependind on the umask used by the Debian buildd.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-12-30 15:48:06 -05:00
Theodore Ts'o 9c846766fd Merge branch 'maint' into next
Conflicts:
	RELEASE-NOTES
	debian/changelog
	version.h
2013-12-28 23:27:39 -05:00
Theodore Ts'o 036a84710d Update release notes, etc., for final 1.42.9 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-12-28 23:19:52 -05:00
Theodore Ts'o becb01ce84 debian: fix cross build support
We need to explicitly specify the $DEB_BUILD_HOST when querying for
the version of the libblkid1 package.

Addresses-Debian-Bug: #721365

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-12-28 17:21:17 -05:00
Theodore Ts'o 2929f9daed debian: update debian-policy conormance to 3.9.5
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-12-28 16:28:56 -05:00
Theodore Ts'o b79e338d2c Use makeinfo --html instead of texi2html
The texi2html utility from the texi2html ceased being developed
upstream in 2011, and upstream has declared it superseded by the
makeinfo utility from the texinfo package.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-12-28 15:40:56 -05:00
Theodore Ts'o fc9f162eea Merge branch 'maint' into next 2013-09-09 20:49:49 -04:00
Theodore Ts'o fc40d2924e debian: remove old symlinks to /usr/share/doc
(Merged in NMU'ed change for Debian-Bug: #698879)

Merge commit '7dc67c0ad5daa7cbdf6d79a73bb34e04d55f7406' into maint

Conflicts:
	debian/changelog
2013-08-11 11:52:35 -04:00
Theodore Ts'o 7dc67c0ad5 debian: remove old symlinks to /usr/share/doc
(From NMU'ed change)

Addresses-Debian-Bug: #698879

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-08-11 11:49:01 -04:00
Theodore Ts'o 97ba11e8da Update release notes and debian changelog file for 1.43-WIP snapshot 2013-07-08 16:15:54 -04:00
Theodore Ts'o 93061ea0f4 Merge branch 'maint' into next
Conflicts:
	RELEASE-NOTES
	version.h
2013-06-20 23:20:51 -04:00
Theodore Ts'o 0595812245 Update release notes, etc., for final 1.42.8 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-06-20 23:11:13 -04:00
Theodore Ts'o 8b9eb12807 Merge branch 'maint' into next
Conflicts:
	RELEASE-NOTES
	e2fsck/Makefile.in
	lib/config.h.in
	version.h
2013-06-16 18:54:01 -04:00
Theodore Ts'o 6e2393fde2 Update Release Notes, Changelogs, version.h, for 1.42.8 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-06-16 18:39:00 -04:00
Theodore Ts'o 3df6014a3d Work around Debian Bug #712530
Add a test to see if the backtrace() function requires linking in a
library in /usr/lib.

Addresses-Debian-Bug: #708307

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-06-16 17:54:39 -04:00
Theodore Ts'o 581ecb6d88 Merge branch 'maint' into next
Conflicts:
	e2fsck/pass1b.c
	e2fsck/rehash.c
	lib/ext2fs/crc32c.c
	lib/ext2fs/gen_bitmap64.c
	misc/tune2fs.c
2013-05-19 21:45:16 -04:00
Theodore Ts'o e48bf256e9 libext2fs: fix gcc -Wall warnings
Primarily signed vs unsigned and const warnings.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-05-19 18:50:10 -04:00
Theodore Ts'o fca8b1b241 Merge branch 'maint' into next
Conflicts:
	RELEASE-NOTES
	version.h
2013-01-21 22:06:16 -05:00
Theodore Ts'o 511ba985c0 Update Release Notes, Changelogs, version.h, for final 1.42.7 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-01-21 22:03:18 -05:00
Theodore Ts'o 7b68fa38b8 Merge branch 'maint' into next
Conflicts:
	RELEASE-NOTES
	lib/ext2fs/ext2_err.et.in
	version.h
2013-01-16 14:14:09 -05:00
Theodore Ts'o 8359f626a4 Update Release Notes, Changelogs, version.h, etc. for 1.42.7 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-01-16 14:09:22 -05:00
Darren Hart f01c1a6bce libext2fs: add the ext2fs_symlink() function
Creating symlinks is a complex affair when accounting for slowlinks.

Create a new function, ext2fs_symlink(), modeled after ext2fs_mkdir().
Like ext2fs_mkdir(), ext2fs_symlink() takes on the task of allocating a
new inode and block (for slowlinks), setting up sane default values in
the inode, copying the target path to either the inode (for fastlinks)
or to the first block (for slowlinks), and accounting for the inode and
block stats.  Disallow link targets longer than blocksize as the Linux
kernel prevents this.

It does not attempt to expand the parent directory, instead returning
EXT2_ET_DIR_NO_SPACE and leaving it to the caller to expand just as
ext2fs_mkdir() does.  Ideally, I think both of these functions should
make a single attempt to expand the directory.

[ Fixed a few bugs discovered when creating a test case for ext2fs_symlink() ]

Signed-off-by: Darren Hart <dvhart@infradead.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: Andreas Dilger <adilger@dilger.ca>
2013-01-16 14:09:17 -05:00
Theodore Ts'o b9b5e43ea8 Merge branch 'maint' into next
Conflicts:
	RELEASE-NOTES
	debian/changelog
	lib/ext2fs/crc32c.c
	lib/ext2fs/rw_bitmaps.c
	resize/resize2fs.c
	version.h
2013-01-01 18:50:26 -05:00
Theodore Ts'o 73c427d2a3 Update changelogs for 1.42.7 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-01-01 17:17:14 -05:00
Theodore Ts'o cc5f27eb38 debain: update e2fslibs.symbols with newly exported functions
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-01-01 14:57:06 -05:00
Filipe Brandenburger 0e5e7284ab debian: use more specific library file names in *.files
This patch specifies libraries using a more specific glob that will pick
only the lib*.so.<version> file and will not match the lib*.so symlink
and the lib*.a archive/static library.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-12-28 13:55:13 -05:00
Filipe Brandenburger efd968732c debian: look for quota.pc and libquota.a from root of install tree
The rules makefile was already using `find' in order to cope with
multi-arch directories under /usr/lib. This patch changes it to look for
those files from the root of the install tree. This allows for
installing to libdirs of /usr/lib64 or /lib or /lib64. There are no
other files with the same names in the package so it's not a problem to
find from the root of the tree.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-12-28 13:16:27 -05:00
Filipe Brandenburger 9aaa4eabd1 debian: add make variable to pass extra parameters to configure
Setting EXTRA_CONF_FLAGS in rules.custom will pass the extra arguments
to calls of ./configure when building e2fsprogs. This can be used, for
instance, to pass a --libdir argument or similar to the configure
script.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-12-28 13:15:55 -05:00
Filipe Brandenburger a8ffb5c2c4 debian: add make variable to prevent building e2fsck.static package
Setting BUILD_E2FSCK_STATIC=no in rules.custom will prevent the
debian/rules makefile from building a statically-linked e2fsck and
from creating a deb package for it.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-12-28 13:15:13 -05:00
Theodore Ts'o cf3c2ccea6 Update for e2fsprogs-1.43-WIP-2012-09-22 2012-09-22 22:29:34 -04:00
Theodore Ts'o 43c67c4f73 Merge branch 'maint' into next
Conflicts:
	debian/changelog
	version.h
2012-09-21 12:55:45 -04:00
Theodore Ts'o 11e5292266 Update Release Notes, Changelogs, version.h, etc. for 1.42.6 release 2012-09-21 12:53:14 -04:00
Theodore Ts'o a92037f261 debian: adjust build dependencies
Remove dc from the list of dependencies, since it's not used during
the build anymore.

Addresses-Debian-Bug: #677497

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-09-21 12:49:48 -04:00
Theodore Ts'o 9f0dbd24f8 debian: Apply debian packaging fixes for metadata csum
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-08-02 22:06:16 -04:00
Theodore Ts'o 67b3721dc4 Update Release Notes, Changelogs, version.h, etc. for 1.42.5 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-07-29 20:38:48 -04:00
Riku Voipio d2051f1104 debian: set e2fsprogs as Multi-Arch: foreign
If package foo:i386 depends on e2fsprogs, without Multi-Arch: foreign
statetment, the i386 version of e2fsprogs will be installed. By
setting the foreign field, the already installed (in this example
amd64) e2fsprogs package is enough to satisfy the dependency.

The M-A: foreign field is ignored in pre-multiarch systems, so ifdeffing
it using macros should be unnessary.

Addresses-Debian-Bug: #678395

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2012-07-29 00:22:16 -04:00
Theodore Ts'o a1c4e15f6a Update debian changelog for 1.42.4-3 2012-06-13 16:07:20 -04:00
Theodore Ts'o c1986ecb6f Fix blhc (Build Log Hardening Check) warnings
The Build Log Hardening Check is a debian tool which scans the output
of a package build making sure that the security hardening flags are
used when compiling and linking all of binaries in a package.

For the most part we were passing CFLAGS, CPPFLAGS, and LDFLAGS down
to the compiler and link commands, but there there were one or two
exceptions.  In addition, there where a few places in "make install"
where the V=1 option was not being honored, which triggered blhc
warnings since it couldn't analyze those commands.

The e2fsck.static was the only binary that was not getting built and
packaged with the hardening flags, but I've fixed all of the blhc
warnings so in the future it will be obvious if we regress.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-06-13 16:06:44 -04:00
Theodore Ts'o 8f00911a21 libquota: remove unneeded #include of <sys/quota.h>
The attempted inclusion of sys/quota.h is causing failures in when
building on the hurd and freebsd platforms for Debian.  It's not
necessary any more, so just remove the #include.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-06-12 18:27:26 -04:00
Theodore Ts'o d6a3e41172 Update Release Notes, Changelogs, version.h, etc. for 1.42.4 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-06-12 17:30:14 -04:00
Theodore Ts'o 8cf716a251 Update Release Notes, Changelogs, version.h, etc. for 1.42.3 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-05-14 16:08:47 -04:00
Theodore Ts'o f52c1753d4 debian: update debian-policy conformance to 3.9.3
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-04-09 15:26:53 -04:00
Theodore Ts'o 3b0018beee Update for Debian 1.42.2-2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-04-09 14:59:20 -04:00
Theodore Ts'o 70d7281dcb Update Release Notes, Changelogs, version.h, etc. for 1.42.2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-27 16:20:46 -07:00
Theodore Ts'o ddad03871f debian: add pointer for e2fsprogs-udeb to libcomerr2.shlibs
The udeb for btrfs-tools need libcom_err.so.2, which is packaged as a
part of e2fsprogs-udeb since we don't have a separate libcomerr2 udeb.
So we need to make sure the shlibs file has an explicit pointer to
handle this case.

Addresses-Debian-Bug: #665885

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-27 11:52:32 -07:00
Theodore Ts'o 95decc5c72 debian: add back support older systems w/o dpkg-buildflags
Commit 5d0e1f99 removed support for older systems such as Ubuntu
10.04, which don't have dpkg-buildflags.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-26 22:54:41 -07:00
Theodore Ts'o fb8bcfcd63 debian: don't build BUILD-STATIC if SKIP_STATIC=yes
Trade off build time for space by using e2fsck.static from BUILD-STD
and not building BUILD-STATIC if SKIP_STATIC=yes in the rules.custom
file.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-26 22:54:41 -07:00
Theodore Ts'o be241786e3 debian: don't build BUILD-BF if SKIP_BF=yes
Trade off build time for space by using the binaries from BUILD-STD
and not building BUILD-BF if SKIP_BF=yes in the rules.custom file.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-26 22:54:33 -07:00
Theodore Ts'o 81d72f7378 debian: compile without using dietlibc if SKIP_DIETLIBC=yes
Some distributions such as Ubuntu don't have dietlibc.  If
SKIP_DIETLIBC=yes appears in rules.custom, this will change the
control file and cause the build rules to skip using dietlibc when
building the BUILD-BF version of e2fsprogs.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-26 21:38:39 -07:00
Theodore Ts'o d973c18b33 debian: try to include rules.custom if it exists
The rules.custom file will never exist upstream, but by trying to
include it if it exists, it will make it easier to people create
custom builds of e2fsprogs by overriding various configuration
parameters in the debian rules file, while minimizing the chance of
future merge conflicts.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-26 21:36:20 -07:00
Theodore Ts'o 87141781aa dumpe2fs: print the expected block group checksum if it is incorrect
This helps to diagnose problems caused by incorrect block group
checksums.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-15 12:13:25 -04:00
Theodore Ts'o bbdb7a5f28 Update for Debian 1.42.1-2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-20 19:41:17 -05:00
Theodore Ts'o 5d0e1f99bc debian: fix dpkg-buildflags so it works when the shell is dash
The buildd's use dash as the shell, so we can't use >& in the rules
file.  This was causing the buildd-built e2fsprogs binary packages to
be built without the hardening flags.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-20 18:18:13 -05:00
Theodore Ts'o f921eda1ab debian: build with V=1 for more information in buildd logs
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-20 18:17:37 -05:00
Theodore Ts'o 91b9eadeab Update for e2fsprogs 1.42.1 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-17 15:54:37 -05:00
Theodore Ts'o 910fae94a5 debian: enable use of dpkg-buildflags if present
On newer Debian-based distributions, dpkg-buildflags should be called
by the debian rules file to get the appropriate values for CFLAGS,
LDFLAGS, etc.  This will also allow Debian to build with security
hardened build flags, which is a release goal for Debian Wheezy.

If dpkg-buildflags is not present, then use some safe defaults (what
is currently being set by dpkg-buildpackage in Ubuntu 10.04 LTS, which
is a common enough ancient distribution that many people might still
care about).

Addresses-Debian-Bug: #654457

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-02-17 14:32:18 -05:00
Theodore Ts'o 499d5ec558 Update Release Notes, Changelogs, version.h, etc. for 1.42 release
Also fixed depfix.sed

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-11-29 16:48:14 -05:00
Theodore Ts'o 3a4ab83098 Update for e2fsprogs 1.42-WIP-1120 release 2011-11-21 08:25:25 -05:00
Theodore Ts'o 7becb2065f Make quota support disabled by support
Quota support can be enabled using --enable-quota.  There are still
some buglets that we need to fix up before it can be considered 100%
supported, so let's disable it for the 1.42 release.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-11-14 10:46:30 -05:00
Theodore Ts'o 1e40ef8ee4 po: rebuild the .gmo files in the debian/rules file
This commit reverts commit aff534958b and transfers the
responsibility of rebuilding the .gmo files to the debian/rules file,
as updating the gmo files can cause problems for other distribution's
building systems.  (We do this because we don't update the .gmo files
when doing a mid-release snapshot, since binary files can't be
represented in diff files.  So we only update the .po files, and let
the package build process take care of the .gmo files.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-11-06 20:27:04 -05:00
Theodore Ts'o d1b75fd60c libext2fs: don't leak tdb_null out of the shared library namespace
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-11-05 14:55:30 -04:00
Theodore Ts'o 6b967cd6f1 Update for e2fsprogs 1.42-WIP-1016 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-16 22:12:07 -04:00
Theodore Ts'o 0c80c44bd0 libext2fs: ext2fs_[set_]file_acl_block needs to check for 64-bit feature flag
The ext2fs_file_acl_block() and ext2fs_set_file_acl_block() needs to
only check i_file_acl_high if the 64-bit flag is set.  This is needed
because otherwise we will run into problems on Hurd systems which
actually use that field for h_i_mode_high.

This involves an ABI change since we need to pass ext2_filsys to these
functions.  Fortunately these functions were first included in the
1.42-WIP series, so it's OK for us to change them now.  (This is why
we have 1.42-WIP releases.  :-)

Addresses-Sourceforge-Bug: #3379227

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-16 20:46:49 -04:00
Theodore Ts'o 3871db6d14 Update for e2fsprogs 1.42-WIP-1009 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-09 22:25:01 -04:00
Theodore Ts'o db86523790 debian: Add explicit source format to specify 3.0 (quilt)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-09 22:24:13 -04:00
Theodore Ts'o 9d0be127e9 debian: fix gcc-multilib dependency for mipsel as well as mips
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-08 13:28:53 -04:00
Theodore Ts'o 394550c81c debian: update the changelog for the e2fsprogs 1.42~WIP-2011-10-05-2 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-07 18:44:27 -04:00
Theodore Ts'o ee0de3e3e6 debian: add a mips-specific dependency on gcc-multilib
The debian mips package has to do some wierd things to include a
64-bit library in the 32-bit binary package.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-07 18:01:31 -04:00
Theodore Ts'o f123e66549 debian: Add a dependency on the 1.42~WIP-2011-1005-1 version of libcom_err
Addresses-Debian-Bug: #644425

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-05 15:32:36 -04:00
Theodore Ts'o d730094243 debian: update libcomerr2.symbols
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-05 03:04:41 -04:00
Theodore Ts'o fd7c37fec1 Update for e2fsprogs 1.42-WIP-1005 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-05 02:40:11 -04:00
Theodore Ts'o f6b16547f4 Update debian/changelog for an interim release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-04 00:28:28 -04:00
Theodore Ts'o c2ac6c5fbd Update for e2fsprogs 1.42-WIP-1001 release 2011-10-01 00:10:24 -04:00
Theodore Ts'o 636019ecdb debian: avoid installing source.lintian-overrides
This avoids lintian errors if we try to rebuild the package since
source.lintian-overrides ends up getting installed in
debian/source/usr/src/lintian/overrides/source, which then gets
dropped in the diff file.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-10-01 00:08:12 -04:00
Theodore Ts'o b1c828e875 debian: add hurd-specific mke2fs.conf file
Addresses-Debian-Bug: #629355

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-28 23:22:01 -04:00
Theodore Ts'o 20d7949583 debian: don't bomb out if DEB_BUILD_OPTIONS contains nostrip
The debugging packages will contain no debugging symbols (since they
are in the unstripped executables and libraries) but at least the
build won't crash.

Addresses-Debian-Bug: #627535

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-25 15:40:24 -04:00
Theodore Ts'o 8a0ef9edfa Update for e2fsprogs 1.42-WIP-0925 release 2011-09-25 02:10:54 -04:00
Theodore Ts'o af63aacef4 debian: update e2fslibs.symbols to include newly added symbols
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-25 01:55:28 -04:00
Theodore Ts'o 3c643f8b18 debian/copyright: update the debian copyright file
Fix up the debian/copyright file so it contains the full information
of the licenses used by all of the libraries.  Also use a single
copyright file for e2fsprogs and e2fslibs, to make sure they are kept
in sync.

Addresses-Debian-Bug: #614662

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-25 01:55:28 -04:00
Richard W.M. Jones 9d9a53e651 libext2fs: add flag to ext2fs_flush() and ext2fs_close() to avoid fsync
This adds new APIs: ext2fs_flush2 and ext2fs_close2 which take an
extra 'int flags' parameter.

This allows us to pass in an EXT2_FLAG_FLUSH_NO_SYNC flag which avoids
fsync'ing the filesystem when closing it.  For the case we have in
mind where we are just constructing a throwaway ext2 filesystem in a
file in order to boot a VM, this saves over 5 seconds during the boot
process and avoids many unnecessary disk writes.

Existing code using ext2fs_flush and ext2fs_close remains unaffected
by this change.

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2011-09-24 12:53:16 -04:00
Theodore Ts'o 8f9d708f6a libquota: only build a static library
Since the libquota library has namespace contamination issues, don't
build a shared library and link against it statically.  Don't include
it as part of the Debian packages.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-19 13:39:38 -04:00
Theodore Ts'o 55e00a2503 debian: add support for multiarch
Enhance the debian build rules so it will create multiarch compliant
packages on those distributions that have support for it.

Also remove e2initrd-helper from the e2fsprogs package since no one
uses it any more.

Also update the debian policy standards version to 3.9.2.

Addresses-Debian-Bug: #632169

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-18 23:53:23 -04:00
Theodore Ts'o 3694bf1cd0 debian: use 1.41.99 hack so that lintain doesn't complain
We'll have to fix this up before 1.42 ships.  And the quota library
badly needs to be cleaned up...

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-16 12:15:17 -04:00
Theodore Ts'o 2406de5440 Update for e2fsprogs 1.42-WIP-0916 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-16 11:13:33 -04:00
Theodore Ts'o 8595c5bfe6 debian: update the e2fslibs and e2fslibs-dev files for the quota library
We will include the quota library in e2fslibs for now.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-15 19:12:30 -04:00
Theodore Ts'o c0b3deb5f8 Update for e2fsprogs 1.42-WIP-0702 release 2011-07-03 00:04:36 -04:00
Theodore Ts'o 594ec97beb debian: disable compression
Disable the compression flag, and enable symlinks for the install
(this is the same as previous debian packages; debian recommends
against using hard links across different directories)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-07-03 00:04:36 -04:00
Eric Sandeen b6d274f7c6 e2fsprogs: create com_err.h link in includedir
After debian bug #192277, debian/rules started making a symlink
to com_err.h in /usr/include.  Now I have Fedora bug #550889
for the same issue, and perhaps it's time to make this link
by default, rather than fixing it up in packaging steps?

[ Changed by tytso to remove the explicit -s option; this will default
  to creating a hard link by default, which slightly faster.  If
  people want to use symlinks for all links during the install
  process, they can use configure option --enable-symlink-install.
  The reason for this change is that some file systems, like AFS,
  don't support symlinks, and AFS users complain when they can't build
  or install into AFS.  So I don't want to use symlinks
  unconditionally without a way of switching things back and forth,
  and it's easier if we just make all links made during the install
  process to be hard links or sym links. ]

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2011-02-20 18:10:21 -05:00
Theodore Ts'o 7267e3d3fd Update Release Notes, Changelogs, version.h, etc. for 1.41.14 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-12-22 18:55:15 -05:00
Theodore Ts'o d085f61f25 Update Release Notes, Changelogs, version.h, etc. for 1.41.13 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-12-13 08:57:14 -05:00
Theodore Ts'o d5b8a1e907 Update Release Notes, Changelogs, version.h, etc. for 1.41.13 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-11-22 16:16:05 -05:00
Theodore Ts'o 023a1df091 ext2fs: add ext2fs_get_memalign() function
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-09-23 16:38:22 -04:00
Theodore Ts'o 58384b8fa8 debian: Fix outdated description: /sbin/fsck has moved to util-linux
Addresses-Debian-Bug: #588726

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-07-19 02:27:07 -04:00
Theodore Ts'o d85bdf7f19 debian: Remove obsolete initrd script
Addresses-Debian-Bug: #585041

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-07-06 14:08:09 -04:00
Theodore Ts'o 0fb2d1d346 Update debian/changelog for v1.41.12-2 release 2010-06-03 13:02:15 -04:00
Theodore Ts'o e54e700051 Fix debian problem: e2fsprogs: bogus dependency on libblkid1 due to shlibs.local
Addresses-Debian-Bug: #583551

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-06-03 13:02:09 -04:00
Theodore Ts'o 15fdc40125 Fix minor nit in debian/rules file
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-05-26 11:01:06 -04:00
Theodore Ts'o b846122a12 Update release notes, version string, etc. for e2fsprogs 1.41.12 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-05-17 23:54:49 -04:00
Theodore Ts'o bb1158b92e mke2fs: account for physical as well as logical sector size
Some devices, notably 4k sector drives, may have a 512 logical
sector size, mapped onto a 4k physical sector size.

When mke2fs is ratcheting down the blocksize for small filesystems,
or when a blocksize is specified on the commandline, we should not
willingly go below the physical sector size of the device.

When a blocksize is specified, we -must- not go below
the logical sector size of the device.

Add a new library function, ext2fs_get_device_phys_sectsize()
to get the physical sector size if possible, and adjust the
logic in mke2fs to enforce the above rules.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-05-17 23:04:40 -04:00
Theodore Ts'o 517be2d76e Install fsck.ext4 symlink in e2fsprogs-udeb package
Addresses-Debian-Bug: #571247

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-05-17 19:38:31 -04:00