Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-parted: Listed des commits

external/parted


RSS
Révision l'heure Auteur
89f9348 marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 2015-10-16 11:25:41 Chih-Wei Huang

parted: fix building issues on Android 6.0

64886b2 lollipop-x86 2014-11-06 17:19:47 Chih-Wei Huang

parted: fix building issues on Android 5.0

Now bionic is more complete. Remove duplicate definitions.

e766400 jb-x86 kitkat-x86 android-x86-4.4-r1 android-x86-4.4-r2 android-x86-4.4-r3 2013-12-25 13:30:06 Chih-Wei Huang

parted: install the executable to /system/bin

afecc0c 2012-11-10 06:10:53 Andrew Boie

parted: Integrate into Android build system

Added Android.mk for parted and support libs. Most porting
magic done in handcrafted config.h; however a few hacks necessary
in linux.c due to missing syscall.h in BIONIC.

All the stuff here is either new Makefiles, a hand-created
config.h, and various items generated by running automake/autoconf;
for example most of the headers here generated from .h.in files
already in the build.

Change-Id: I4595fdffbbd6f90bc23fe56f8aafb78524db1f22
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

2a2ee73 2012-11-10 06:07:43 Andrew Boie

parted: Add gnulib

This is present in the parted release tarball but not the git
repository and is required to run parted. Its use is approved in
the IP plan request for parted.

Android.mk added to build with Android.

Source:
http://ftp.gnu.org/gnu/parted/parted-3.1.tar.xz

Signature:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAABCAAGBQJPUQeUAAoJEH/Z/MsAC+7uwS0P/iplXKYgLCZ7PXhAy2QWSEgC
yEDNUN2hdK5RqXPzmyzTEObflRRkVQV8nWLBg9r5jCXKBKl0OEiBDSd9jwbdUSwI
6ueSsbrLLpwnQkqBsh7F9zwIJ2xDsPYmhOqxTbXpITn8fv9MAMPFm0+pGYgIPC4o
JITcP+8ufjjQpdecv/EmiM+3rrcMxgVi7/F158uj+ih4mxl7L4APG2hIib+Xdd8x
lqzVogAQoW6n5uoQo/F2zcGv/NPMH7LqwH435VEzc3FTEKQ4ArZ6o/hYasMALW2F
iXyjxQKDPBmiXOkKwmhRCBQtFVk1rpy6JSw07ljL2sZlScnKvq3AA9ufomdlgtIR
vBDRjkJeB1W12sk75eQRiP1RS3+TT1rpo9kvE4a1iZkMWrHPvaCDKM48MdN/Nvb6
nLafTM2FsHPEZ9HJCmEY4LRH0zmTJQy8KW5XSHFJgEhk22Jk5S951uTkM1sEbvHL
RRZHIGs/RZwetIUvFFEE87hZJ6OWO0XVStUnA+ik255XgN8Ik5o4K50hI3qU0/e3
3faMq6MpBYfQn5z1SO99/TE70hjyi8Q5E+SpuF3qn4cfhYi3zn8e6OaGNLVOXcWU
5/9WI5v9a5br/74RmIElsieetnMvlpbe9feAvsziQooNPe584qlQq7SXVegcXGNu
MUrTB6SjxheBtLqH0PlX
=0NA7
-----END PGP SIGNATURE-----

Change-Id: Ia4570a65fbfcdb4a9ef44388b756996bc736fe18
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

750522e 2012-11-07 16:35:46 Andrew Boie

remove .gitignore

We actually want to check in changes to some of the files here.

Change-Id: I9ac620ce306c2ff2e2ba3af8f18576193f43135d
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

a0b1ec2 2012-03-03 01:52:07 Jim Meyering

version 3.1

* NEWS: Record release date.

82327a3 2012-03-03 01:07:03 Jim Meyering

maint: bump library version to 2.0.0

* libparted/Makefile.am (CURRENT): Increment, since I removed
ped_realloc.

ab9b086 2012-03-02 22:51:58 Jim Meyering

maint: update README-release to reflect we now have two libraries

* README-release: Two sets of library version triples to adjust.
* bootstrap: Tiny fix from gnulib.

4e6ad54 2012-03-02 20:39:05 Jim Meyering

lib-fs-resize: remove unused probe-related code

* libparted/fs/r/hfs/probe.c: Remove probe-related functions.
There are not used.
* libparted/fs/r/fat/fat.c: Likewise.
* libparted/fs/r/hfs/probe.h: ...and declarations.

4559c51 2012-02-27 02:04:37 Jim Meyering

libparted: avoid unwarranted failed assertion during mklabel

This could happen when running "parted -s $dev mklabel $type" for
nearly any $type, assuming the underlying disk's sector size is
larger than 512 bytes. This particular failure was noticed by
running tests/t9050-partition-table-types.sh with a simulated
sector size of 1024, as is done as part of a top-level "make check",
but so far, this failure has shown up only on RHEL-6.2.
That test attempts to exercise an ugly part of partition table
creation: during creation, parted checks for an existing
partition table by iterating through its list of known types and
attempting to read the disk, looking for a preexisting table.
Knowing this, the test takes all pairs of partition table types,
<A,B> and first creates a type of type A, and then creates on top
of that (erasing the original) a table of type B.
* libparted/labels/mac.c (_disk_analyse_ghost_size): Remove bogus
assertion. If the number of the sector with a matching signature
is too large, simply reject it by returning 0.
* NEWS (Bug fixes): Mention this.

187e7cb 2012-02-25 19:16:54 Jim Meyering

doc: improve NEWS

* NEWS: Expand/adjust wording in two entries.

c92748d 2012-02-21 17:22:03 Jim Meyering

tests: sanitize PATH; do not discard mkswap output

* tests/init.cfg (sanitize_path_): New function, from coreutils.
Use it.
* tests/t9050-partition-table-types.sh: Do not discard mkswap output
and diagnostics. This test would fail (e.g., on OpenSUSE 12.1), when
run with PATH not including /sbin. Reported by Bruno Haible.

1f8079c 2012-02-18 23:49:54 Jim Meyering

tests: skip failing use of mkfs.hfs unless using newer, fixed version

The old, segfaulting version does not recognize the -v option, while
the new one does. Use that to skip the test when it seems that
fsck.hfs is broken.
* tests/t3000-resize-fs.sh: Skip part of this root-only test
when fsck.hfs is the always-segfaulting version.

4fd8e74 2012-02-18 23:48:44 Jim Meyering

build,test: update gnulib, bootstrap and init.sh

* bootstrap: Update.
* tests/init.sh: Update.
* gnulib: Update.
* doc/po4a.mk: Updating gnulib pulls in newer syntax-check rules,
including one that rejects @lower_case@ variables in Makefiles.
Fix the sole violation: s/@mandir@/$(mandir)/

763c1cf 2012-02-18 23:48:44 Jim Meyering

build: avoid non-srcdir build failure

* libparted/fs/Makefile.am: s!fsresize.sym!$(srcdir)/fsresize.sym!

4973f84 2012-02-11 04:10:33 Jim Meyering

maint: placate syntax-check wrt tests/fs-resize.c

* tests/fs-resize.c (main): Remove unused #includes.
Do use set_program_name, to placate syntax-check.

42f3d8e 2012-02-11 04:05:50 Jim Meyering

doc: mention HFS+/FAT file system resizing in NEWS

* NEWS (New features): Mention it.

d9c1e1a 2012-02-11 04:05:50 Jim Meyering

tests: test FAT and HFS file system resizing

* tests/t3000-resize-fs.sh: New test.
* tests/Makefile.am (TESTS): Add it.
(check_PROGRAMS): Add fs-resize.
(fs_resize_LDADD): Define, so it links with both libraries.

5bfc7fd 2012-02-11 04:05:49 Christoph Hellwig

tests: add FS-resize test driver

* tests/fs-resize.c: New file, to test FAT/HFS resizing.

07f3333 2012-02-11 04:05:49 Jim Meyering

lib-fs-resize: use linker script to expose only selected functions

* libparted/fs/Makefile.am (libparted_fs_resize_la_LDFLAGS): Define.
(EXTRA_DIST): Distribute the new file.
(libparted_fs_resize_la_DEPENDENCIES): Make the library depend on it.
* libparted/fs/fsresize.sym: New file.

9081956 2012-02-11 04:05:49 Jim Meyering

maint: remove r/hfs/DOC,HISTORY,TODO; add VERSION for new library

f5308e4 2012-02-11 04:05:49 Jim Meyering

lib-fs-resize: rewrite ped_file_system_clobber

Before, it would probe for an existing file system type and then,
according to what it found, call the corresponding <FS_TYPE>_clobber
function. Now that we have restored only HFS and FAT FS-writing
support, only those few types have a corresponding _clobber function.
We would obviously fail to clear common types of file systems, and even
if we were to restore all previous _clobber functions, none of those
were able to handle sector sizes larger than 512. Not worth it.
* libparted/fs/r/filesys.c: Include pt-tools.h.
(MIN): Define.
(ped_file_system_clobber): Rewrite not to use hfs*_clobber or
fat_clobber. Instead, simply clear the first three and last two
sectors of the specified "device".
* libparted/fs/Makefile.am (INCLUDES): Add
-I$(top_srcdir)/libparted/labels for new use of a ptt_* function.

4792bae 2012-02-11 04:05:49 Jim Meyering

lib-fs-resize: add wrappers for open,close,resize,get_resize_constraint

* libparted/fs/r/filesys.c: Implement ped_file_system_resize,
ped_file_system_open, ped_file_system_close and
ped_file_system_get_resize_constraint.
* libparted/fs/r/hfs/hfs.c: Give a few functions global scope,
so we can use them from the above.
* libparted/fs/Makefile.am: Use automake's subdir-objects option.
This avoids conflicts with multiple *.o file names
(e.g., fat.o), now that two directories provide that name.
(AM_CFLAGS): Disable $(WERROR_CFLAGS), for now.

485425f 2012-02-11 04:05:43 Jim Meyering

maint: update copyrights in r/

9c1cf7e 2012-02-07 19:53:32 Jim Meyering

lib-fs-resize: re-add HFS and FAT file-system-related code

This just adds the code, without hooking it up yet.
* po/POTFILES.in: Add all libparted/fs/r/**.c files.

50dd04e 2012-02-07 19:53:32 Jim Meyering

maint: remove now-unused fat-related functions

* libparted/fs/fat/bootsector.c (fat_boot_sector_generate)
(fat_boot_sector_write, fat_info_sector_write): Remove functions.
(fat_boot_sector_set_boot_code): Likewise.
* libparted/fs/fat/bootsector.h: Remove declarations.
* libparted/fs/fat/fat.c (fat_set_frag_sectors, fat_free_buffers):
Remove function.
* libparted/fs/fat/fat.h: Remove declarations.

4fa3a6b 2012-02-07 19:49:36 Jim Meyering

tests: set PARTED_TEST_NAME, for valgrind

* tests/Makefile.am (PARTED_TEST_NAME): Define.
* tests/t0211-gpt-rewrite-header.sh: Clarify a comment.

905811b 2012-02-07 19:49:36 Jim Meyering

libparted: gpt: avoid heap-read-overrun when rewriting 9-PTE table

Now that parted can rewrite a corrupt-or-misaligned 9-PTE table,
we have to be careful to allocate space for slightly more data
when the byte-count required for a PTE table is smaller than
the whole number of sectors would imply. I.e., when the PTE table
size is not a multiple of the sector size, there is a fraction of
that final sector for which we do not read data, but we do write.
Ensure we have space for the buffer we'll write and that it is
initialized (to 0's).
* libparted/labels/gpt.c (gpt_write): Allocate the right amount of
space. Use calloc, not malloc+memset.

7be12a2 2012-02-04 06:27:05 Jim Meyering

maint: adjust the URL that will appear in the generated announcement

* cfg.mk (url_dir_list): Use this http://ftp.gnu.org/gnu/$(PACKAGE)
for the first link listed in the generated announcement.
announce-gen now provides the faster mirror link automatically.

Afficher sur ancien navigateur de dépôt.