diff options
author | Daniel Drake <dsd@laptop.org> | 2011-02-27 22:39:24 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2011-02-27 22:39:24 (GMT) |
commit | aa7dbda644f4b262882aa042b89c1faf25131e67 (patch) | |
tree | 1cf262342837d2038e79e68cfd0c0744a9864237 | |
parent | a4e444cd57c9d874522dfd0814e2d24662d13913 (diff) |
Slim /boot
Reduce /boot to 24mb for XO-1 and remove useless grub splash screen file.
/boot contents are currently about 10mb per version.
-rw-r--r-- | modules/base/kspost.10.core.inc | 3 | ||||
-rw-r--r-- | modules/ubifs_image/image.50.makeimg.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc index 8999ca8..47f7a86 100644 --- a/modules/base/kspost.10.core.inc +++ b/modules/base/kspost.10.core.inc @@ -168,3 +168,6 @@ echo "AUTOCREATE_SERVER_KEYS=RSAONLY" >> /etc/sysconfig/sshd # this hack can be removed when util-linux-2.20 is included. (#10605) echo UTC >> /etc/adjtime +# not used, takes up a little space +rm -rf /boot/grub + diff --git a/modules/ubifs_image/image.50.makeimg.sh b/modules/ubifs_image/image.50.makeimg.sh index 310691a..2345136 100644 --- a/modules/ubifs_image/image.50.makeimg.sh +++ b/modules/ubifs_image/image.50.makeimg.sh @@ -86,7 +86,7 @@ echo "Generating partition script..." cat > $output_script_path <<EOF data: $output_img erase-all -partitions: boot 100 system -1 +partitions: boot c0 system -1 set-partition: boot mark-pending: 0 EOF |