parent
196d352923
commit
c5fba160b4
@ -1,28 +0,0 @@
|
||||
From 890341694c407fed77b817ccef1f1f70c3506378 Mon Sep 17 00:00:00 2001
|
||||
From: Pablo Greco <pablo@fliagreco.com.ar>
|
||||
Date: Fri, 12 Jul 2019 21:41:38 -0300
|
||||
Subject: [PATCH] Leave more space (4MB) for uboot before the first partition
|
||||
|
||||
Uboot is getting bigger, and in some cases, it doesn't even fit in 1MB
|
||||
(like BeagleBoneBlack).
|
||||
Start the first partition at 4MB to leave more space.
|
||||
---
|
||||
appcreate/partitionedfs.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/appcreate/partitionedfs.py b/appcreate/partitionedfs.py
|
||||
index b738b80..b2b0413 100644
|
||||
--- a/appcreate/partitionedfs.py
|
||||
+++ b/appcreate/partitionedfs.py
|
||||
@@ -90,7 +90,7 @@ class PartitionedMount(Mount):
|
||||
p['type'] = 'primary'
|
||||
p['num'] = d['numpart']
|
||||
if d['offset'] == 0:
|
||||
- d['offset'] = 1
|
||||
+ d['offset'] = 4
|
||||
p['start'] = d['offset']
|
||||
d['offset'] += p['size']
|
||||
d['partitions'].append(n)
|
||||
--
|
||||
2.21.0
|
||||
|
@ -1,25 +0,0 @@
|
||||
From 52ca919e15e246324d084f2a9d03884aa9bfb81f Mon Sep 17 00:00:00 2001
|
||||
From: Pablo Greco <psgreco@gmail.com>
|
||||
Date: Thu, 22 Nov 2018 13:35:04 -0300
|
||||
Subject: [PATCH] fstype is optional for swap, check mountpoint also
|
||||
|
||||
---
|
||||
appcreate/partitionedfs.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/appcreate/partitionedfs.py b/appcreate/partitionedfs.py
|
||||
index 3cc09c1..b738b80 100644
|
||||
--- a/appcreate/partitionedfs.py
|
||||
+++ b/appcreate/partitionedfs.py
|
||||
@@ -110,7 +110,7 @@ class PartitionedMount(Mount):
|
||||
logging.debug("Add %s part at %d of size %d" % (p['type'], p['start'], p['size']))
|
||||
if p['fstype'].startswith('ext'):
|
||||
fstype = 'ext2'
|
||||
- if p['fstype'].startswith('swap'):
|
||||
+ if p['fstype'].startswith('swap') or p['mountpoint'].startswith('swap'):
|
||||
fstype = 'linux-swap'
|
||||
if p['fstype'] == 'vfat':
|
||||
fstype = 'fat32'
|
||||
--
|
||||
2.17.2
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (appliance-tools-009.0.tar.bz2) = 2c85ff875b346e0223691690ccbbdf81dd1ac3ac4faf738e6edac79ca4fad849fefcacd75e852b0f7f12ccbb402bf16288d70e2e4bd90bc0d2afe0c7dbc0e84f
|
||||
SHA512 (appliance-tools-010.0.tar.bz2) = e6513211b43f8e2c8cf18194de0faaa58f45812eff3db404c2532b2c36c45a9bfd48b85e9f76ad6fc09135231f3aa6381ff38faa0bc5ef83b9e0842fbf6b248b
|
||||
|
Loading…
Reference in new issue