Commit Graph

55 Commits (c8a5708db1bc66aa361d38e9c74aea929b793921)

Author SHA1 Message Date
Theodore Ts'o 7e8fe327b5 Don't build e2fsck statically by default anymore
Also removed the --enable-dynamic-static configure option.

Unfortunately the usefulness of building e2fsck statically is gone on
all modern distributions, since everything else on the system is built
dynamically these days.  In fact on some distributions it is almost
impossible to build programs statically any more.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-27 18:22:18 -05:00
Theodore Ts'o 4f2e8f1982 debian: Don't use dietlibc on platforms that don't support it
Addresses-Debian-Bug: #459475

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-27 17:20:44 -05:00
Theodore Ts'o 26d6891522 debian: use '$(MAKE)' instead of 'make' in debian/rules
This change allows a parallel build (i.e., via dpkg-buildpackage -j3)
of e2fsprogs to work correctly.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-01 16:23:38 -05:00
Theodore Ts'o a827a2a3a7 debian: build the e2fsck-static package so it works on 2.4 kernels
Some people are still running ancient Debian distributions, such as
woody, with a 2.4 kernel, and they want to be able to use the
e2fsck-static package on backlevel systems.

It turns out that we can't just statically link against glibc anymore,
since glibc now uses thread-local storage everywhere.  So we now build
e2fsck-static using dietlibc.

Addresses-Debian-Bug: #458017

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-31 22:35:18 -05:00
Theodore Ts'o 61a679d4d7 debian: Do not use TLS or uuidd when building the bootfloppy udeb's
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-31 22:34:19 -05:00
Theodore Ts'o 740837def7 Add uuidd daemon to prevent duplicate time-based UUID's
Also store the clock sequence information in a state file in
/var/lib/misc/uuid-clock so that if the time goes backwards the clock
sequence counter can get bumped.  This allows us to completely
correctly generate time-based (version 1) UUID's according to the
algorithm specified RFC 4122.

Addresses-Sourceforge-Bug: #1529672
Addresses-Red-Hat-Bugzilla: #233471

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-16 17:28:46 -05:00
Samuel Thibault 3e41608aac Fix Debian rules files to support building non-Linux archs
Addresses-Debian-Bug: #437720

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-15 20:59:29 -05:00
Theodore Ts'o a6ea47ab4b Fix cross-compilation support in Debian's build rules
Addresses-Debian-Bug: #451172

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-15 20:34:41 -05:00
Theodore Ts'o 60702c267d Work around lame Ubuntu init scripts / installer bugs
The Ubuntu init scripts don't properly set the system time correctly
from hardware clock if the hardware clock is configured to tick local
time instead of GMT time.

Work around this as best as we can by providing an option in
/etc/e2fsck.conf which can be set on Ubuntu systems:

[options]
	buggy_init_scripts = 1

Addresses-Debian-Bug: #441093
Addresses-Ubuntu-Bug: #131201

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-09-22 20:43:11 -04:00
Theodore Ts'o a648ea60ee Fix up Lintain complaint about the "make distclean" ignoring errors
This is a Debian-specific debian/rules change, just to clean up the
packaging script.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-08 21:36:43 -04:00
Theodore Ts'o a3f464ffe7 Fix bogus strip permission errors when building under Debian
When building the e2fsprogs dpkg's, the dh_strip command emits a large
number of error messages caused by the permissions not being right.  So
run dh_fixperms before running dh_strip.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-04 14:51:18 -04:00
Theodore Ts'o 1a9188507c Remove RFC-4122 from e2fsprogs distribution
Documentation about UUID's is available in enough places, and it's
awkward to deal with debian-legal's insanities.  So I'm caving in the
"more-lunatic-than-RMS" wing of Debian by removing RFC-4122 so we don't
have do the dfsg tarball.   Also remove the rule that only tried to
install RFC-4122 on Ubuntu, since Ubuntu seems to want to fetch
e2fsprogs exclusively from Debian.

Addresses Debian Bug: #407107

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-06-24 16:49:14 -04:00
Theodore Ts'o a178852877 Add versioned dependency in Debian's shlibs for libblkid
Add dependency to account for the new blkid function blkid_probe_all_new()
was added to e2fsprogs 1.39.   The lack of this versioned dependency
caused a failure in rpc.mountd as detailed in Debian Bug #413057.

Addresses Debian Bug: #413208

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-03-04 08:17:18 -05:00
Theodore Ts'o 8d54e8f2c5 Update draft-leach-uuids-guids-01.txt with rfc4122.txt
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-11-12 20:22:06 -05:00
Theodore Ts'o f77704e416 Add directory hashed signed/unsigned hint to superblock
The e2fsprogs and kernel implementation of directory hash tree has a
bug which causes the implementation to be dependent on whether
characters are signed or unsigned.  Platforms such as the PowerPC,
Arm, and S/390 have signed characters by default, which means that
hash directories on those systems are incompatible with hash
directories on other systems, such as the x86.

To fix this we add a new flags field to the superblock, and define two
new bits in that field to indicate whether or not the directory should
be signed or unsigned.  If the bits are not set, e2fsck and fixed
kernels will set them to the signed/unsigned value of the currently
running platform, and then respect those bits when calculating the
directory hash.  This allows compatibility with current filesystems,
as well as allowing cross-architectural compatibility.

Addresses Debian Bug: #389772

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-11-11 22:32:35 -05:00
Theodore Ts'o ec3bb41be7 Update Debian packaging for 1.39+1.40-WIP-2006.10.02+dfsg-1
Remove I-D because of DFSG license Nazi's.

Make e2fsck and uuid-dev have its own /usr/share/doc directories, and make
the e2fsck-static package not depend on the e2fsprogs package.

Addresses Debian Bug: #383521

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-10-04 09:12:35 -04:00
Theodore Ts'o bfc1a74bb4 Remove useful UUID specification from Debian packaging thanks to license Nazi's
Addresses Debian Bug: #390664

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-10-02 13:31:10 -04:00
Theodore Ts'o a0010281f1 Debian build: remove conffile from e2fsprogs-udeb, and remove explicit conffile
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-30 01:03:17 -05:00
Theodore Ts'o 7512f13662 Add udeb: lines to the Debian's shlibs files
Package: e2fsprogs
Version: 1.38+1.39-WIP-2005.12.31-1
Severity: wishlist
Tags: patch, d-i

Let's call this an important wishlist bug (important for Debian Installer
anyway :-)

Please add the following line to the shlibs files for libblkid and libuuid
respectively:
udeb: libblkid 1 libblkid1-udeb
udeb: libuuid 1 libuuid1-udeb

This will allow dpkg/debhelper to properly set the dependencies for udebs
that depend on the e2fsprogs libs.
Please see #345472 and #345475 for further info on this.

This will also mean that, eventually, we will be able to drop the
"Provides: ..." for the library udebs, but we cannot do that until other
udebs that currently depend on them have been rebuilt.
I'll file a separate bug when that change can be made.

Addresses Debian Bug: #356293
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-29 19:03:38 -05:00
Theodore Ts'o d2d0d79861 Enable devmapper patch for Debian
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-08 17:42:40 -05:00
Theodore Ts'o 7dc333dcbf Make sure debian/rules is executable.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-31 01:30:09 -05:00
Theodore Ts'o b1e22d52d0 Add support for lib64ext2fs-nopic.a for mips in the Debian rules file.
(Addresses Debian Bug #329074)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-29 09:16:00 -05:00
Theodore Ts'o 8a8a12c192 Add resize2fs and badblocks to the e2fsprogs udeb
Addresses Debian Bugs #290429 and #310950

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-10 22:56:21 -05:00
Theodore Ts'o 8c5829fb8e Fix Debian build rules to reflect changes in texi2html (Debian Bug #317862)
Texi2html's behavior changed recently: if it is invoked with
-split=chapter, old versions place the HTML files in the same
directory as the documentation source, whereas new versions place the
generated files in a subdirectory.

Reported by Matt Kraai.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-07-21 19:32:36 -05:00
Theodore Ts'o be5a72daa7 Force compile_et and mk_cmds to use /usr/bin/awk so that we will work
on any Debian system regardless of which version of awk is installed.
(Closes: #299341)
2005-03-17 01:16:34 -05:00
Theodore Ts'o 921f4ad536 Remove support for EVMS 1.x plugin library. 2004-11-19 17:25:27 -05:00
Theodore Ts'o 41b6ae6058 Make sure the configure files are newer than configure.in the
debian/rules file so that a dpkg-source created patch won't
trigger an attempt rebuild of the configure script.  (Addresses
Debian Bug #272558)
2004-09-24 10:07:05 -04:00
Theodore Ts'o 35b73e9483 Always build the fsck wrapper on Debian systems (Addresses
Debian Bug #248050)
2004-09-19 07:52:05 -04:00
Theodore Ts'o 5d40773ba8 Revamp the initrd scripts to use a new helper program,
e2initrd_helper, which obviates the need for using /bin/awk
and mounting/unmounting the root filesystem during the initrd
process.  (Addresses Debian Bug #247775)
2004-09-18 14:53:14 -04:00
Theodore Ts'o 56eb4d4749 Remove XSI:isms for greater portability. (Addresses
Debian Bug #255589)
2004-09-17 19:54:22 -04:00
Theodore Ts'o e2de6b9e69 Fix the Debian initrd scripts so that they actually work correctly.
(Addresses Debian Bug #241183)
2004-04-11 16:25:56 -04:00
Theodore Ts'o 080ee031e5 Add tune2fs to the e2fsprogs udeb package
(Addresses Debian Bug #235639)
2004-03-02 11:18:05 -05:00
Theodore Ts'o e254d05b95 Add libuuid1-udeb (Closes: #221777) 2003-12-07 01:57:04 -05:00
Theodore Ts'o 1d658a1361 Fix misc. debian packaging problems.
* Move the initrd script from /etc/mkinitrd/scripts to
  /usr/share/initrd-tools/scripts so that mkinitrd will not remove
  the file when it is uninstalled.  (Addresses Debian bug #204019)

* Remove unneeded files in debian directory: blkid-dev.substvars and
   e2fsprogs-bf.lintian-overrides.  (Addresses Debian bug #203914)

* Support "noopt" in DEB_BUILD_OPTIONS instead of "debug".  
   (Addresses Debian bug #203914)
2003-08-21 01:53:07 -04:00
Theodore Ts'o 7a15db2381 Applied NMU patch to fix Debian bugs #203056 and #203058 2003-07-29 22:15:33 -04:00
Theodore Ts'o f85cc2a8c2 Addresses Debian bug #201050. Set the libc-dev dependency correctly
and set DEB_{HOST,BUILD}_* variables correctly for architectures 
other than *-linux and *-gnu.
2003-07-26 00:48:08 -04:00
Theodore Ts'o 151c86abb9 Separate out shared libraries out of e2fsprogs to real pacakges:
libss2, libcomerr2, libuuid1, and e2fslibs.

Remove Yann's TODO and README.Debian files.
2003-07-25 07:03:00 -04:00
Theodore Ts'o 9bf19713c8 Do not include the top-level ChangeLog file in /usr/share/doc/e2fsprogs
for debian packages.  The RELEASE-NOTES file is what people should be
reading instead.
2003-07-23 09:55:39 -04:00
Theodore Ts'o e3075aea55 Use symbolic links for fsck.ext{2,3} and mkfs.ext{2,3} in the udeb
package since busybox tar can't deal with hard links.  
(Closes Debian bug #196508)
2003-07-12 16:28:09 -04:00
Theodore Ts'o 813bde19f5 Add package dependency to shlibs for comerr to indicate support
for kth compatibility.  (Closes Debian bug #193096)
2003-05-13 23:53:20 -04:00
Theodore Ts'o 62775dc542 Debian packaging issues:
* Remove e2fsprogs-bf package, as it is obsolete. (Closes: #183453)
* Remove NLS support from e2fsprogs-udeb.  Save 5.5k on the boot
  floppies / install media.
2003-05-08 10:39:50 -04:00
Theodore Ts'o 71df0dc393 Update for 1.33 release.
Fix typo's in README.subset

Change debian control file so it doesn't bomb out if the EVMS FSIM
is not there, since it is not built on the Hurd.  Resolves Debian
bug #189687.
2003-04-21 16:17:09 -04:00
Theodore Ts'o 417781aff1 Add libblkid1-udeb package for the Debian Installer. 2003-04-10 00:18:56 -04:00
Theodore Ts'o 020c5477ea Various Debian fixups:
Update debian changelog.  Move packages from devel to libdevel.
We now supply the /usr/include/com_err.h include file.h
2003-04-10 00:01:19 -04:00
Theodore Ts'o 6fe7d1156a Update debian files to support the blkid library, and to fix a number
of Lintian warnings.

Added mk_cmds man page.
2003-03-16 19:58:25 -05:00
Theodore Ts'o c20bbd5637 Update from debian's 1.32-2 package. 2003-03-15 13:03:51 -05:00
Theodore Ts'o dd198d6885 Update Debian packaging information as of 1.29+130-WIP-0930-2. 2002-10-31 03:44:35 -05:00
Theodore Ts'o 2a4c77bc1d Synchronize with Debian 1.28-5. 2002-09-24 01:30:00 -04:00
Theodore Ts'o e5b164373c Update to debian's 1.27+1.28-WIP-0626-1
Revert the shlibs hack.

Makefile.in: Remove inode_io.o from the standard object files 
	in libext2fs, and only build it if debugfs is enabled
	(it requires fileio.o, which is only built if 
	--disable-debugfs isn't specified to configure).
2002-08-17 21:11:29 -04:00
Theodore Ts'o b9f409255e Update makefiles to install mkfs.ext3, and to install man pages for
mkfs.ext2/3 and fsck.ext2/3.  Also remove any compressed man pages
before installing the man pages.
2002-02-24 03:08:57 -05:00