summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog124
-rw-r--r--debian/control27
-rw-r--r--debian/docs1
-rw-r--r--debian/mic.install4
-rwxr-xr-xdebian/rules21
5 files changed, 145 insertions, 32 deletions
diff --git a/debian/changelog b/debian/changelog
index 33f263e..3924533 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,127 @@
+mic (0.27.1) unstable; urgency=low
+ * new distribution support: Ubuntu 16.04, Fedora 23
+ * add raw image format support
+ * bug fix:
+ - Remove BmapCreate and Filemap source code from MIC (#DEVT-151)
+
+ -- Jianzhong Fang <jz.fang@samsung.com> Wed, 25 May 2016 15:00:00 +0800
+
+mic (0.27) unstable; urgency=low
+ * new distribution support: CentOS 7, Debian 8, Fedora 21,
+ Fedora 22, openSUSE 13.2
+ * generate manifest file to describe image information
+ * refactor archive and compress module
+ * support sparse handle for tar command
+ * replace system V with systemd on locale setting
+ * add qcow2 image format support
+ * add strict mode for package installing
+ * enable ssl_verify option in config file
+ * enhance checksums of outputs: md5sum, sha1sum, sha256sum (#DEVT-224)
+ * drop mic-native support (#DEVT-248)
+ * update mount option
+ * revert bind mount config file to instroot
+ * drop liveusb, livecd and raw image formats support (#DEVT-243, #DEVT-263)
+ * use argparse module to parse the cmd line (#DEVT-52)
+ * bug fix:
+ - fix logfile incomplete in release option
+ - fix config file disappear in bootstrap
+ - fix aarch64 bin_format
+ - fix pylint
+ - fix real path of device mapper causing initrd failure
+ - fix qemu arm and arm64 issues
+ - fix AttributeError in zypp backend
+ - fix 'python-xml' depends used by cElements
+ - fix xml requirements
+ - fix logfile not in release of '--release' when creation failed
+ - fix copyright missing issue
+ - fix syslinux installation path issue in Arch Linux
+ - fix priority option of ks file not apply (#DEVT-254)
+ - fix need to check loop device after excute 'losetup --find'
+ - fix check scriptlet error file on /tmp/.postscript/error/
+ - fix broken tar archive
+
+ -- Jianzhong Fang <jz.fang@samsung.com> Mon, 28 Mar 2016 19:50:35 +0800
+
+mic (0.24) unstable; urgency=low
+ * enhance to handle password with special characters
+ * change python-zypp require to python-zypp-tizen
+ * add --repo comand option for local build
+ * add --user and --password option for %repo directive of ks file
+ * clean up some codes relevant to EULA agreement
+ * add hostname showing in log
+ * bug fix:
+ - fix chroot failed by space in image not enough
+ - fix obsolete packages incorrect handling
+ - fix yum backend failed to cache packages
+ - fix bare ip in no_proxy not working
+ - fix repeated log showing with yum backend
+ - fix loop device latency timing
+ - fix zypp failed to download by changing 'cachedir'
+ - fix 'mkfs' not working caused by mic-bootstrap install failed
+
+ -- Gui Chen <gui.chen@intel.com> Tue, 11 Mar 2014 17:25:35 +0800
+
+mic (0.23-1) unstable; urgency=low
+ * new distribution support: Ubuntu 13.10 and OpenSUSE 13.1
+ * split requirements to subpackage 'mic-native' to reduce mic's dependencies
+ * support arm64 architecture image creation in native mode
+ * new option '--interactive'/'--non-interactive' to enable/disable interaction
+ * new option '--uuid' for 'part' in ks file to set filesystem uuid
+ * export more variables related to installer framework for loop format
+ * bug fix:
+ - fix bootstrap handling if bootstrap package failed
+ - fix 'mapper_device' key error
+ - fix detailed error messages missing in mounting
+ - fix version comparing issue of urlgrabber in Fedora
+
+ -- Gui Chen <gui.chen@intel.com> Fri, 12 Dec 2013 17:25:35 +0800
+
+mic (0.22-1) unstable; urgency=low
+ * use __version__ variable instead of VERSION file
+ * refactor msger module to ulitize logging module
+ * refine error class module
+ * improve installation in virtualenv
+ * add bash completion support
+ * add zsh completion support
+ * export mapper device related to installer framework
+ * update BmapCreate to the latest version
+ * bug fix:
+ - fix customized plugin_dir not work in bootstrap
+ - fix packing process exit on Ubuntu
+ - fix loop device alloaction failed on openSUSE
+ - fix incorrect number showing during installing
+ - set owner of cacheidr/outdir to SUDO_USER
+ - correct project url in setup.py
+ - fix mic not work when mic.conf disappear
+
+ -- Gui Chen <gui.chen@intel.com> Thu, 24 Oct 2013 17:25:35 +0800
+
+mic (0.21-1) unstable; urgency=low
+ * new distribution support: Fedora 19
+ * refactor chroot module to correct the logic
+ * add an alias for installerfw - installerfw_plugins
+ * remove fuser dependency to avoid some unmount issue
+ * enable proxy setting with authentication
+ * don't get proxy info from /etc/sysconfig/proxy ever
+ * kill processes inside chroot after post script running
+ * bug fix:
+ - fix bootloader options omitted
+ - raise when incorrectly set partition flags 'legacy_boot'
+ - fix wrong file descriptor issue
+ - fix some requires
+
+ -- Gui Chen <gui.chen@intel.com> Mon, 26 Aug 2013 17:25:35 +0800
+
+mic (0.20-1) unstable; urgency=low
+ * new distribution support: CentOS 6
+ * drop image creation if checked packages not present in image
+ * introduce 'installerfw' command in kickstart to customize configuration
+ * improve output message of post scripts
+ * bug fix:
+ - fix rpm not support 'VCS' tag traceback
+
+ -- Gui Chen <gui.chen@intel.com> Mon, 01 Jul 2013 17:25:35 +0800
+
mic (0.19-1) unstable; urgency=low
* new distribution support: Ubuntu 13.04 and openSUSE 12.3
* introduce '--part-type' to handle GPT partition
diff --git a/debian/control b/debian/control
index 86be578..8d921f5 100644
--- a/debian/control
+++ b/debian/control
@@ -8,29 +8,13 @@ Homepage: http://www.tizen.org
Package: mic
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, ${dist:Depends},
+Depends: ${misc:Depends}, ${python:Depends},
+ rpm,
python-rpm,
- bzip2,
- dmsetup,
- dosfstools,
- e2fsprogs (>= 1.41),
- isomd5sum,
- genisoimage,
- kpartx,
- parted,
- psmisc,
- squashfs-tools (>= 4.0),
- yum (>= 3.2),
- syslinux (>= 2:4.05),
- extlinux (>= 2:4.05),
- libzypp,
- tizen-python-zypp-0.5.14,
- python-m2crypto,
python-urlgrabber,
-Recommends:
- binfmt-support,
- btrfs-tools,
- udisks | hal
+ cpio,
+ bzip2,
+ gzip
Conflicts:
mic2
Description: image creator for Linux distributions
@@ -39,3 +23,4 @@ Description: image creator for Linux distributions
is used to create images with different types; subcommand convert is used to
convert an image to a specified type; subcommand chroot is used to chroot into
an image.
+
diff --git a/debian/docs b/debian/docs
index a1320b1..678115e 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,2 @@
README.rst
+doc/RELEASE_NOTES
diff --git a/debian/mic.install b/debian/mic.install
new file mode 100644
index 0000000..adadd7f
--- /dev/null
+++ b/debian/mic.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/bin/mic /usr/bin
+debian/tmp/usr/lib/* /usr/lib
+debian/tmp/usr/share/* /usr/share
+debian/tmp/etc/* /etc
diff --git a/debian/rules b/debian/rules
index ebdca12..41a13a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-ifeq ($(shell cat /etc/issue | cut -d' ' -f2), 11.10)
- SUBSTVARS = -Vdist:Depends="qemu-arm-static"
-else
- SUBSTVARS = -Vdist:Depends="qemu-user-static"
-endif
-
-
build: build-stamp
build-stamp:
dh_testdir
@@ -31,9 +24,15 @@ install: build
dh_installdirs
# Installing package
- mkdir -p $(CURDIR)/debian/mic $(CURDIR)/debian/mic/usr/bin $(CURDIR)/debian/mic/usr/share/man/man1
- install -m644 doc/mic.1 $(CURDIR)/debian/mic/usr/share/man/man1
- python setup.py install --root=$(CURDIR)/debian/mic
+ mkdir -p $(CURDIR)/debian/tmp/
+ mkdir -p $(CURDIR)/debian/tmp/usr/bin
+ mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1
+ mkdir -p $(CURDIR)/debian/tmp/etc/bash_completion.d
+ mkdir -p $(CURDIR)/debian/tmp/etc/zsh_completion.d
+ install -m644 doc/mic.1 $(CURDIR)/debian/tmp/usr/share/man/man1
+ install -m755 etc/bash_completion.d/mic.sh $(CURDIR)/debian/tmp/etc/bash_completion.d/
+ install -m755 etc/zsh_completion.d/_mic $(CURDIR)/debian/tmp/etc/zsh_completion.d/_mic
+ python setup.py install --root=$(CURDIR)/debian/tmp --prefix=/usr
binary-indep: build install
dh_testdir
@@ -49,7 +48,7 @@ binary-indep: build install
dh_pysupport
dh_installdeb
dh_shlibdeps
- dh_gencontrol -- $(SUBSTVARS)
+ dh_gencontrol
dh_md5sums
dh_builddeb