This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for installing to primary partitions, NTFS, partclone
- refactored parititioning code to support installing to primary partitions - adds "requires_partition_number" property to partitions.json for partitions that need to be at a fixed partition number (e.g. need to be at primary partition 3) - adds "offset" property to partitions.json for partitions that need to be at a fixed offset. - now does rewrite the MBR - outsources the writing of the partition table to sfdisk - enables NTFS support (through fuse/ntfs-3g) - adds OsInfo PartitionInfo model classes that parse the json files once and keep the information in normal variables - tries to reduce wasted space due to gaps between partitions - adds support for keeping partition unformatted (filesystem_type: "unformatted") - adds support for specifying hexadecimal partition type number (partition_type: "07") - adds support for marking partitions bootable (active: true) - kernel config: enable FUSE and UDF - zero out first sector of each partition (to prevent old file system label being detected) - parted: surpress warning about its file system manipulation code not being robust that distracts from real errors - adds support for partclone disk partition images - adds support for patching Windows BCD files
- Loading branch information
Showing
20 changed files
with
836 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- partclone-0.2.84.orig/src/main.c 2015-10-13 08:27:56.000000000 +0200 | ||
+++ partclone-0.2.84/src/main.c 2015-10-27 17:09:32.324546758 +0100 | ||
@@ -20,7 +20,6 @@ | ||
#include <sys/types.h> | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
-#include <mcheck.h> | ||
#include <stdint.h> | ||
#include <stdarg.h> | ||
#include <string.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
config BR2_PACKAGE_PARTCLONE | ||
bool "partclone" | ||
help | ||
Partclone | ||
Note: only installs partclone.restore | ||
|
||
http://partclone.org | ||
|
||
comment "partclone requires a toolchain with LARGEFILE+WCHAR support" | ||
depends on !(BR2_LARGEFILE && BR2_USE_WCHAR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
################################################################################ | ||
# | ||
# partclone | ||
# | ||
################################################################################ | ||
|
||
PARTCLONE_VERSION = 0.2.84 | ||
PARTCLONE_SOURCE = partclone-$(PARTCLONE_VERSION).tar.gz | ||
PARTCLONE_SITE = http://sourceforge.net/projects/partclone/files/testing/src | ||
PARTCLONE_LICENSE = GPLv2 | ||
PARTCLONE_LICENSE_FILES = COPYING | ||
|
||
define PARTCLONE_BUILD_CMDS | ||
$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D)/src partclone.restore | ||
endef | ||
|
||
define PARTCLONE_INSTALL_TARGET_CMDS | ||
$(INSTALL) -D -m 0755 $(@D)/src/partclone.restore $(TARGET_DIR)/usr/bin/partclone.restore | ||
endef | ||
|
||
$(eval $(autotools-package)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.