replace setup module from distuils.core to setuptools 96/312296/2 sandbox/wangbiao/py3_version
authorwangbiao <biao716.wang@samsung.com>
Thu, 6 Jun 2024 06:28:07 +0000 (15:28 +0900)
committerwangbiao <biao716.wang@samsung.com>
Thu, 6 Jun 2024 06:35:13 +0000 (15:35 +0900)
remove debian directory
Change-Id: Ic0424d71527e71ecd61a026a32a0f8103f004117
Signed-off-by: wangbiao <biao716.wang@samsung.com>
debian/changelog [deleted file]
debian/compat [deleted file]
debian/control [deleted file]
debian/copyright [deleted file]
debian/docs [deleted file]
debian/mic.install [deleted file]
debian/rules [deleted file]
packaging/mic.spec
setup.py

diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644 (file)
index 8aab8b3..0000000
+++ /dev/null
@@ -1,644 +0,0 @@
-mic (0.28.19) unstable; urgency=low
-  * Fix mic create image error with rpm 4.14 if %prepackages section exists in
-    ks file.
-
- -- Biao Wang <biao716.wang@samsung.com>  Thu, 13 Apr 2023 15:00:00 +0800
-
-mic (0.28.18) unstable; urgency=low
-  * Add support for RISC-V arch.
-
- -- Biao Wang <biao716.wang@samsung.com>  Thu, 12 Jan 2023 15:00:00 +0800
-
-mic (0.28.17) unstable; urgency=low
-  * Add --block-recommends option to allow not install recommended packages
-
- -- Biao Wang <biao716.wang@samsung.com>  Wed, 10 Aug 2022 15:00:00 +0800
-
-mic (0.28.16) unstable; urgency=low
-  * Add postscripts-maxruntime option to set the max run time for post scripts.
-
- -- Biao Wang <biao716.wang@samsung.com>  Thu, 10 Feb 2022 15:00:00 +0800
-
-mic (0.28.15) unstable; urgency=low
-  * Don't install recommended packages in mic.
-
- -- Biao Wang <biao716.wang@samsung.com>  Mon, 05 Jul 2021 15:00:00 +0800
-
-mic (0.28.14) unstable; urgency=low
-  * Encrypt user password with SHA512 instead of MD5.
-  * Fix pylint error, reimport glob.
-
- -- Biao Wang <biao716.wang@samsung.com>  Fri, 14 May 2021 15:00:00 +0800
-
-
-mic (0.28.13) unstable; urgency=low
-  * Add new option for squashfs file system to support M1 feature.
-
- -- Biao Wang <biao716.wang@samsung.com>  Tue, 23 Mar 2021 15:00:00 +0800
-
-mic (0.28.12) unstable; urgency=low
-  * Support to create image with f2fs file system.
-  * Fix the bug that no print last installed package.
-  * Remove urlgrabber directory from mic.
-
- -- Biao Wang <biao716.wang@samsung.com>  Fri, 05 Feb 2021 15:00:00 +0800
-
-mic (0.28.11) unstable; urgency=low
-  * add dependece for yum directly.
-  * fix run error issue for parser repomd.xml when here is group type.
-  * Refine code, remove duplicated code
-  * Separate qcow plugin scripts
-
- -- Biao Wang <biao716.wang@samsung.com>  Thu, 05 Nov 2020 15:00:00 +0800
-
-mic (0.28.10) unstable; urgency=low
-  * Create btrfs images with the metadata single option.
-  * Refine code with SAM tools check.
-
- -- Biao Wang <biao716.wang@samsung.com>  Tue, 21 Jul 2020 15:00:00 +0800
-
-mic (0.28.9) unstable; urgency=low
-  * increase max loop device number in mic.
-  * fix build error with Typeerror.
-  * Fix the bug that truncates existing inittab file.
-
- -- Yan Meng <yan11.meng@samsung.com>  Wed, 17 Jun 2020 15:00:00 +0800
-
-mic (0.28.8) unstable; urgency=low
-  * remove unnecessary /etc/fstab file.
-
- -- Yan Meng <yan11.meng@samsung.com>  Thu, 7 May 2020 15:00:00 +0800
-
-mic (0.28.7) unstable; urgency=low
-  * fix pylint errors for mic
-  * add option for mic to skip set hosts when create
-  * skip set hosts by mic when /etc/hosts exists
-
- -- Yan Meng <yan11.meng@samsung.com>  Mon, 17 Feb 2020 15:00:00 +0800
-
-mic (0.28.6) unstable; urgency=low
-  * new distribution support: Ubuntu 18.04.
-
- -- Jin Xiao <jin.xiao@samsung.com>  Fri, 15 Feb 2019 15:00:00 +0800
-
-mic (0.28.5) unstable; urgency=low
-  * Add %env section support.
-
- -- Jin Xiao <jin.xiao@samsung.com>  Wed, 31 Oct 2018 15:00:00 +0800
-
-mic (0.28.4) unstable; urgency=low
-  * add new option --fslabel in part section.
-
- -- Jin Xiao <jin.xiao@samsung.com>  Fri, 28 Sep 2018 15:00:00 +0800
-
-mic (0.28.3) unstable; urgency=low
-  * Revert "ext4 images are created with inode size 256 bytes".
-
- -- Jin Xiao <jin.xiao@samsung.com>  Fri, 14 Sep 2018 15:00:00 +0800
-
-mic (0.28.2) unstable; urgency=low
-  * remove tmp dir in runscript period.
-  * ext4 images are created with inode size 256 bytes.
-  * Add locale related environment varibale because language is not set to one specified in ks file.
-
- -- Jin Xiao <jin.xiao@samsung.com>  Fri, 03 Aug 2018 15:00:00 +0800
-
-mic (0.28.1) unstable; urgency=low
-  * Check exit status of vdfs image creation
-  * Change the user and root passwd hash algorithm order to avoid user name same as root name.
-
- -- Jin Xiao <jin.xiao@samsung.com>  Fri, 11 May 2018 15:00:00 +0800
-
-mic (0.28) unstable; urgency=low
-  * Apply btrfs mount options "--fsoptions=compress"
-  * In Tizen, losetup command support '-f' option, change '--find' to '-f'
-  * Fix issue, set blocksize by parsing "-b [BLOCKSIZE]" from extoptions in ks file
-
- -- Jin Xiao <jin.xiao@samsung.com>  Fri, 13 April 2018 15:00:00 +0800
-
-mic (0.27.9) unstable; urgency=low
-  * Added ATTACHMENT_PATHS env and IMG_DIR_PATH env
-  * Revert "call copy_attachment() after configure() and move attachment files"
-
- -- Xiaojuan Mao <xiaojuan.mao@samsung.com>  Fri, 23 Mar 2018 15:00:00 +0800
-
-mic (0.27.8) unstable; urgency=low
-  * Use SHA512 instead of MD5 to encrypt root password
-  * Fix the bug that use local mic-bootstrap to run mic.
-  * Support local mic-bootstrap rpm package to run mic.
-  * Another method of install tpk.
-  * The value of fstype is not cpio, an image is generated by cpio.
-  * When increase rpm release number, user can use --local-pkgs-path to install local pkgs.
-  * use the value of --pack-to option as filename to match all outputs
-  * support both %runscript and %post-umount to perform scripts before packaging
-  * support multiple mic execution at same time
-  * add --use-mic-in-bootstrap option
-  * Display all rpm debug messages with --rpm-debug
-  * call copy_attachment() after configure() and move attachment files
-  * Add init_expand option to partition
-  * add no_shrink option to partition, fix parameter of disk.expand()
-  * Setup environment to perform signing script
-  * if post scripts fails, CreatorError is raised to catch script errors such as signing error
-  * use registered qemu emulator filename if already registered.
-
- -- Xiaojuan Mao <xiaojuan.mao@samsung.com>  Fri, 26 Jan 2018 17:00:00 +0800
-
-mic (0.27.7) unstable; urgency=low
-  * Timezone setting change
-  * Run certain script before creation of tar.gz image
-  * Locally built mic-bootstrap using gbs cannot be used in mic
-  * Add new option of tpk_install
-  * Amend mic cr option of run_script
-  * Add new option of --run_script
-  * fix the bug that modify the order of generating image by cpio
-  * Modify the order of generating image by cpio
-
- -- Yuhuan Yang <yuhuan.yang@samsung.com>  Fri, 15 Sep 2017 15:00:00 +0800
-
-mic (0.27.6) unstable; urgency=low
-  * Use cpio gzip in mic.
-  * fix corrupted log messages in log file
-  * change installed package name length from 20 to 50
-  * print warning message for detecting rpm post script...
-  * display all rpm debug messages in debug mode
-  * display filesystem size of each images
-  * add SIGTERM handler for exit gracefully
-  * change tpk install error message format
-  * print package name, before install
-  * Modify the arguments that use cpio to generate image.
-  * Solve mic hang issue, add timeout to show failure.
-  * Solve issue:mic has error when env no_proxy is 165.xx.xxx...
-  * Change the order of generating image by cpio.
-
- -- Xiaojuan Mao <xiaojuan.mao@samsung.com>  Fri, 30 Jun 2017 15:00:00 +0800
-
-mic (0.27.5) unstable; urgency=low
-  * Solve image not clean after created, use e2fsck to clean image, relevant issue is NJTS-179 in JIRA.
-
- -- Yuhuan Yang <yuhuan.yang@samsung.com> Fri, 28 Apr 2017 15:00:00 +0800
-
-mic (0.27.4) unstable; urgency=low
-  * Fixup changelog that causes errors
-  * Merge add mipsel register on binfmt_misc && Add support of qemu-mipsel patch
-  * Replace 'copy' to 'symbolic link' in timeznoe setting inside mic
-  * Copy ks setting lang to file /etc/config/mic_language for other use
-  * Show logs inside 'Running scripts' in mic
-
- -- SoonKyu Park <sk7.park@samsung.com>  Wed, 5 Apr 2017 17:00:00 +0900
-
-mic (0.27.3) unstable; urgency=low
-  * support vdfs and squashfs image creation
-  * Show pkgid when install pkg error
-
- -- Jiankang Fan <jiankang.fan@samsung.com>  Mon, 19 Dec 2016 15:00:00 +0800
-
-mic (0.27.2) unstable; urgency=low
-  * Add exclude-from-image option to exclude specific images 
-  * Add subcommand option parameters(-v, -d, -i)
-
- -- SoonKyu Park <sk7.park@samsung.com>  Wed, 28 Sep 2016 15:00:00 +0800
-
-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
-  * copy bmap creation from bmap-tools
-  * update some depends and fix depends issue
-  * bug fix:
-    - fix bug autologinuser always set
-    - fix symlink bind mount left issue
-    - fix '/var/lock' non-existent throw traceback 
-
- -- Gui Chen <gui.chen@intel.com>  Thu, 16 May 2013 17:25:35 +0800
-
-mic (0.18-1) unstable; urgency=low
-
-  * put build_id before image name for release option
-  * mount build directory as tmpfs to speed up
-  * enable --priority in ks to set priority
-  * upgrade qemu (mic's depends) to 1.4.0
-  * bug fix:
-    - fix debuginfo rpm swig attribute lost
-    - fix release option failure with slash
-    - fix man page lost in some distros
-    - fix bmap file packed to tarball
-  * code cleanup:
-    - unify import statements to absolute import
-    - clean up many undefined in partitionfs.py/loop.py/livecd.py
-    - clean up some useless try and raise blocks
-    - clean up some bad indentations
-    - improve some error messages
-
- -- Gui Chen <gui.chen@intel.com>  Mon, 03 Apr 2013 17:25:35 +0800
-
-mic (0.17-1) unstable; urgency=low
-
-  * support new distribution Fedora 18
-  * enable to handle more than 3 partitions
-  * support partitions without mount point
-  * move vcs infomation from .vcs to .packages
-  * clean up some mess in utils/misc.py
-  * bug fix:
-    - fix failure when symbolic link vmlinuz in single disk
-    - fix incorrect alignment handling
-    - fix requires squashfs in opensuse
-    - fix unicode error in myurlgrab
-  * code cleanup:
-    - clean up some mess in utils/misc.py
-    - clean up pylint issue in creator.py
-
- -- Gui Chen <gui.chen@intel.com>  Tue, 28 Feb 2013 17:25:35 +0800
-
-mic (0.16-1) unstable; urgency=low
-
-  * add GPT support for UEFI format
-    - add --ptable=gpt option in kickstart to enable GPT
-    - add simple GPT parser to parse PARTUUID
-    - use PARTUUID in syslinux.cfg if gpt required
-    - clean up the mess code and improve readability
-  * improve alignment to reduce unused space
-    - add interface add_disks for PartitionedMount
-    - clean up the mess code in partitionfs.py
-  * append timestamp suffix to image name by default
-  * add a new option --nocache in kickstart to disable caching rpm
-  * add a new value 'vcs' for --record-pkgs to save VCS info
-  * add a new option --fstab-entry for raw image to set fstab entry
-  * introduce a new option '--install-pkgs' in mic
-    - valid values imagined: source, debuginfo, debugsource
-    - enable 'debuginfo' to install '-debuginfo' rpm in the meantime
-  * improve loop device generating and cleaning mechanism
-  * code clean:
-    - update documentation
-    - rename MANIFEST to MD5SUM
-    - clean up moblin stuff in kickstart
-    - clean mic tests and keep only unittest
-    - sepreate the download related as independent module
-  * bug fix:
-    - cleanup zypp credential file to fix conflicts during installing
-    - fix the issue that outdir/cachedir is not dir
-    - recalculate package content recording
-    - refactor try except statement in baseimager
-    - fix existing loop images overwritten
- -- Gui Chen <gui.chen@intel.com>  Wed, 30 Jan 2013 17:25:35 +0800
-
-mic (0.15) unstable; urgency=low
-
-  * Release 0.15, changes including:
-    - new bootstrap implementation: use bootstrap as default
-    - enable 'pkgmgr=auto' to use auto-selected backend
-    - just warning in chroot when not Tizen/MeeGo chroot dir
-    - remove username and password in zypp repo file
-    - update usage.rst for man page
-    - bug fix:
-      - fix https proxy issue in yum backend
-      - fix repodata checksum failed issue
-      - avoid traceback when loopback is NoneType
- -- Gui Chen <gui.chen@intel.com>  Fri, 31 Aug 2012 17:25:35 +0800
-
-mic (0.14) unstable; urgency=low
-
-  * Release 0.14, changes including:
-    - use cached metadata when checksum is not changed
-    - skip non-fatal error in ks file and prompt user to handle
-    - prompt user to handle when failed to apply img configure
-    - replace hard name with device uuid in etc/fstab 
-    - enhance extlinux cfg file for symbolic kernel like IVI
-    - support label assign for raw image
-    - bug fix:
-      - fix live image create failure when label assigned
-      - avoid traceback when converting unsupported type
-      - fix mic --version ugly output
-  
- -- Gui Chen <gui.chen@intel.com>  Thu, 02 Aug 2012 17:25:35 +0800
-
-mic (0.13) unstable; urgency=low
-
-  * Release 0.13, changes including:
-    - create logfile as default when --release specifid
-    - use 'gzip' and 'bzip2' to pack image instead of python
-    - automatically detect path of 'env' for chroot
-    - record version and os info in build log and logfile
-    - bug fix:
-      - fix popup message in ubuntus
-      - fix unicode issue for logfile
-      - better fix for 'chroot raw' issue 
-
- -- Gui Chen <gui.chen@intel.com>  Wed, 12 Jul 2012 17:25:35 +0800
-
-mic (0.12) unstable; urgency=low
-
-  * Release 0.12, changes including:
-    - use default value when @BUILD_ID@ and @ARCH@ not specified
-    - enhance proxy support in attachment retrieve
-    - add new --shrink opt for loop image to control img shrinking
-    - avoid invalid literal for loop device generation
-    - relocate and refactor selinux_check func
-    - remove prefix for make install
-    - bug fix:
-      - fix compres image in raw image
-      - fix src pkgs download failed issue
-      - fix convert failed issue
-
- -- Gui Chen <gui.chen@intel.com>  Wed, 20 Jun 2012 17:25:35 +0800
-
-mic (0.11) unstable; urgency=low
-
-  * Release 0.11, changes including:
-    - support new subcmd 'auto' to handle magic line in ks
-    - enhance the handle of authentication url and https proxy
-    - support packing images together and support compressed file format
-    - reset LD_PRELOAD for chroot env
-    - centralized interface to check existing images
-    - avoid live image creating when using multi-partitions
-    - resolve the depends of python-urlgrabber
-    - bug fix:
-      - fix logfile context lost issue
-      - fix attachment package url handling
-      - fix mic ch raw failed issue
-  
- -- Gui Chen <gui.chen@intel.com>  Fri, 08 Jun 2012 17:25:35 +0800
-
-mic (0.10.4) unstable; urgency=low
-
-  * Release 0.10, changes including:
-    - container support using '%attachment' section in ks
-    - add --compress-to option to support zip format in loop image
-    - auto-detect config and plugindir to meet virtualenv and customized install
-    - remove all hardcoded info in setup.py and use sys.prefix for installing
-    - tolerate some OS errors in the image configurations stage
-    - extra patch:
-      - fix zypp missing password when using username passwd 
-      - some fixes to enhance authentication url
-      - refine repostr structure to fix comma issue in baseurl
-
- -- Gui Chen <gui.chen@intel.com>  Tue, 15 May 2012 17:25:35 +0800
-
-mic (0.9.4) unstable; urgency=low
-
-  * Release 0.9, changes including:
-    - support pre-install package with zypp backend
-    - sync /etc/mic/mic.conf to bootstrap
-    - enhance sorting for version comparsion in zypp
-    - rewrite chroot tar image using xml format mount point file
-    - fix the incorrect number showing in fs src pkgs download
-    - remove tests directory for dist in Makefile
-    - fix liveusb parted mkpart failure, revert mbr size expand in raw
-    - cleanup /tmp/repolic* dir in the EULA checking
-
- -- Gui Chen <gui.chen@intel.com>  Fri, 13 Apr 2012 17:25:35 +0800
-
-mic (0.8.1) unstable; urgency=low
-
-  * Release 0.8, changes including:
-    - partition alignment support
-    - remove bootloader option 'quiet vga' for raw
-    - update dist files in git source
-    - update unittest, add cases for chroot, msger, runner
-    - add 40 system test case for help
-    - rewrite loop device allocation mechanism
-
- -- Gui Chen <gui.chen@intel.com>  Mon, 26 Mar 2012 17:25:35 +0800
-
-mic (0.7) unstable; urgency=low
-
-  * Release 0.7, changes including:
-    - zypp backend: fixed a fatal issue of unreleasable loop devs
-    - zypp backend: more friendly output message
-    - backend: share cached rpm files between yum and zypp
-    - enhancement for multiple partition loop format
-    - make msger to accept Unicode string
-    - fixed a regression of compress option for FS format
-    - fixed issues in openSUSE12.1
-    - new written man page
-
- -- JF Ding <jian-feng.ding@intel.com>  Fri, 02 Mar 2012 17:45:35 +0800
-
-mic (0.6) unstable; urgency=low
-
-  * Release 0.6, changes including:
-    - give hint when converted image existed
-    - conf.py: proxy scheme check
-    - space check before copy image
-    - zypp: abort with error msg for repo resolver issues
-    - runner.py refinement
-    - ks file syntax check for '%post' without '%end' 
-    - support more compression formats than only bzip2
-    - fix msg NoneType issue, causing exit after install
-    - bootstrap:
-      - catch creator error when retrieving bootstrap metadata
-      - correct matching .metadata file in bootstrap
-
- -- Qiang Zhang <qiang.z.zhang@intel.com>  Thu, 16 Feb 2012 17:25:35 +0800
-
-mic (0.5) unstable; urgency=low
-
-  * Release 0.5, changes including:
-    - Rewrite the algorithm of checking free space for download and install
-    - Add --shell option for convert to recreate image modified by innershell
-    - Add -s option for chroot to unpack image
-    - Introduce --copy-kernel option for creator
-    - Remove the hardcoded default args for bootloader
-    - Disable logstderr and flush message buffer in disable_logstderr
-    - Deal with yum.conf inside yum backend by itself
-    - Bug fix:
-      - Fix rpmdb error in yum and zypp to avoid bad file descriptor message
-      - Fix MANIFEST syntax to be compliant with md5sum
-      - Correct dependencies for mic in bootstrap
-  
- -- Gui Chen <gui.chen@intel.com>  Mon, 06 Feb 2012 17:25:35 +0800
-
-mic (0.4) unstable; urgency=low
-
-  * Release 0.4, changes including:
-    - Support bootstrap mode, run with '--runtime=bootstrap'
-    - Full support for taring-to output, use 'mic ch x.tar'
-    - Break dependency between backend and baseimage
-    - Check valid repos in ks file
-    - Space check update and catch no space exception
-    - Fix no prompt when cv and ch no existed image
-    - Fix NoneType 'createopts' when convert
-    - Fix no existed local_pkgs_path
-   
- -- Gui Chen <gui.chen@intel.com>  Fri, 06 Jan 2012 17:25:35 +0800
-
-mic (0.3) unstable; urgency=low
-
-  * Upgrade to version 0.3, changes including:
-    - Unit test support, run 'make test'
-    - Enable proxy support in config file
-    - Refine configmgr and pluginmgr
-    - Support multi instance with different cache dir
-    - Add 47 system test case
-    - Improve md5sum generation
-    - Add repo option --ssl_verify
-    - Add option --name_prefix
-    - Reformatted code according to PEP08
-    - Backport from mic2:
-      - Add priority and cost option for repos
-      - Reinstroduced compress-disk-image option 
-  
- -- Gui Chen <gui.chen@intel.com>  Mon, 26 Dec 2011 17:25:35 +0800
-
-mic (0.2) unstable; urgency=low
-
-  * Release 0.2, with the following changes:
-    - Support btrfs and ext4 fstype for creator, convertor, and chroot
-    - Append distfiles and Makefile
-    - Check arch type from repo data
-    - Set rpm dbpath to fix 'rpm -qa' issue
-    - Fix chroot issue caused by image size
-    - Improve setup.py and make it compatible with python 2.5
-    - Disable ca check for https
-    - Change default output dir name to ./mic-output
-    - untrack mic/__version__.py
-    - Fix some minor issues
-
- -- Gui Chen <gui.chen@intel.com>  Tue, 29 Nov 2011 17:25:35 +0800
-
-mic (0.1) unstable; urgency=low
-
-  * Official release 0.1, with the following features:
-    - Support three subcommand: create, convert, chroot
-    - Support five image types: fs, loop, raw, livecd, liveusb
-    - Support two package manager backend: yum and zypp
-    - Support the following global command line options:
-      - --verbose
-      - --debug
-    - Creator subcommand support the following command line options:
-      - --logfile=LOGFILE
-      - -c CONFIG, --config=CONFIG
-      - -k CACHEDIR, --cachedir=CACHEDIR
-      - -o OUTDIR, --outdir=OUTDIR
-      - -A ARCH, --arch=ARCH
-      - --release=RID
-      - --record-pkgs=RECORD_PKGS
-      - --pkgmgr=PKGMGR
-      - --local-pkgs-path=LOCAL_PKGS_PATH
-  
- -- Gui Chen <gui.chen@intel.com>  Thu, 27 Oct 2011 17:25:35 +0800
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644 (file)
index 7f8f011..0000000
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
deleted file mode 100644 (file)
index 676ba92..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-Source: mic
-Section: devel
-Priority: extra
-Maintainer: Jian-feng Ding <jian-feng.ding@intel.com>
-Build-Depends: debhelper (>= 7.0.15), cdbs, python3, python3-requests, python3-all, python3-dev, dh-python, python3-docutils
-Standards-Version: 3.8.0
-Homepage: http://www.tizen.org
-
-Package: mic
-Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends},
- rpm,
- python3-rpm,
- python3-urlgrabber,
- python3-distro,
- cpio,
- bzip2,
- gzip,
- yum
-Conflicts:
- mic2
-Description: image creator for Linux distributions
-  The tool mic is used to create and manipulate images for Linux distributions.
-  It is composed of three subcommand\: create, convert, chroot. Subcommand create
-  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/copyright b/debian/copyright
deleted file mode 100644 (file)
index 0c99694..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-This work was packaged for Debian by:
-
-    Ding Jianfeng <jian-feng.ding@intel.com> on Fri, 26 Dec 2008 23:00:35 +0800
-
-It was downloaded from:
-
-    https://github.com/jfding/mic
-
-Upstream Authors:
-
-    Red Hat Inc.
-    Intel Inc.
-
-Copyright:
-
-    Copyright (C) 2007-2008 Red Hat Inc.
-    Copyright (C) 2008-2012 Intel Inc.
-
-Copyright for mic/cmdln.py:
-
-    Copyright (C) 2002-2005 ActiveState Corp.
-    Copyright (C) Trent Mick <trentm@activestate.com>
-
-    MIT License
-
-    Permission is hereby granted, free of charge, to any person obtaining a copy
-    of this software and associated documentation files (the "Software"), to deal
-    in the Software without restriction, including without limitation the rights
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-    copies of the Software, and to permit persons to whom the Software is
-    furnished to do so, subject to the following conditions:
-
-    The above copyright notice and this permission notice shall be included in
-    all copies or substantial portions of the Software.
-
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-    THE SOFTWARE.
diff --git a/debian/docs b/debian/docs
deleted file mode 100644 (file)
index 678115e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-README.rst
-doc/RELEASE_NOTES
diff --git a/debian/mic.install b/debian/mic.install
deleted file mode 100644 (file)
index adadd7f..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-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
deleted file mode 100755 (executable)
index dd312e2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/make -f
-%:
-       dh $@ --with python3 --buildsystem=pybuild
-build:
-       make man
-override_dh_auto_install:
-       dh_auto_install
-       # Installing package
-       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
-       python3 setup.py install --root=$(CURDIR)/debian/tmp --prefix=/usr
-
-override_dh_installchangelogs:
-       dh_installchangelogs ChangeLog
-override_dh_auto_test:
-
index 310db64..b329721 100755 (executable)
@@ -51,6 +51,7 @@ Requires:   qemu-arm-static
 %endif
 
 BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
 %if ! 0%{?tizen_version:1}
 BuildRequires:  python3-docutils
 %endif
index eec4284..63e851c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -21,8 +21,9 @@
 
 import os, sys
 import glob
-from distutils.core import setup
-
+#The distutils package is deprecated and slated for removal in Python 3.12
+#from distutils.core import setup
+from setuptools import setup
 
 MOD_NAME = 'mic'