Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/mkubootimage Add lzma and lzo compression types
details: https://anonhg.NetBSD.org/src/rev/859f1ca02223
branches: trunk
changeset: 767934:859f1ca02223
user: matt <matt%NetBSD.org@localhost>
date: Wed Aug 03 17:46:40 2011 +0000
description:
Add lzma and lzo compression types
diffstat:
usr.bin/mkubootimage/mkubootimage.c | 6 ++++--
usr.bin/mkubootimage/uboot.h | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r a1f69ea8274d -r 859f1ca02223 usr.bin/mkubootimage/mkubootimage.c
--- a/usr.bin/mkubootimage/mkubootimage.c Wed Aug 03 17:34:27 2011 +0000
+++ b/usr.bin/mkubootimage/mkubootimage.c Wed Aug 03 17:46:40 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkubootimage.c,v 1.9 2011/08/03 17:00:13 matt Exp $ */
+/* $NetBSD: mkubootimage.c,v 1.10 2011/08/03 17:46:40 matt Exp $ */
/*-
* Copyright (c) 2010 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: mkubootimage.c,v 1.9 2011/08/03 17:00:13 matt Exp $");
+__RCSID("$NetBSD: mkubootimage.c,v 1.10 2011/08/03 17:46:40 matt Exp $");
#include <sys/mman.h>
#include <sys/stat.h>
@@ -178,6 +178,8 @@
{ IH_COMP_NONE, "none" },
{ IH_COMP_GZIP, "gz" },
{ IH_COMP_BZIP2, "bz2" },
+ { IH_COMP_LZMA, "lzma" },
+ { IH_COMP_LZO, "lzo" },
};
static enum uboot_image_comp
diff -r a1f69ea8274d -r 859f1ca02223 usr.bin/mkubootimage/uboot.h
--- a/usr.bin/mkubootimage/uboot.h Wed Aug 03 17:34:27 2011 +0000
+++ b/usr.bin/mkubootimage/uboot.h Wed Aug 03 17:46:40 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uboot.h,v 1.3 2011/02/26 20:03:09 phx Exp $ */
+/* $NetBSD: uboot.h,v 1.4 2011/08/03 17:46:40 matt Exp $ */
/*-
* Copyright (c) 2010 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -56,6 +56,8 @@
IH_COMP_NONE = 0,
IH_COMP_GZIP = 1,
IH_COMP_BZIP2 = 2,
+ IH_COMP_LZMA = 3,
+ IH_COMP_LZO = 4,
};
#define IH_MAGIC 0x27051956
Home |
Main Index |
Thread Index |
Old Index