<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>27994</bug_id>
          
          <creation_ts>2012-11-17 22:17:05 +0400</creation_ts>
          <short_desc>Добавить упаковку в ubifs</short_desc>
          <delta_ts>2012-11-20 02:10:53 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>mkimage-profiles</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Liakhovets">a.o.liakh</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>antohami</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>134955</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Liakhovets">a.o.liakh</who>
    <bug_when>2012-11-17 22:17:05 +0400</bug_when>
    <thetext>Поскольку mkimage поддерживает ubifs, то при таком изменении в m-p:

--- old/features.in/pack/config.mk     2012-11-17 20:37:38.656961239 +0400
+++ new/features.in/pack/config.mk     2012-11-17 21:01:18.023906446 +0400
@@ -16,7 +16,7 @@
 endif

 # virtual environments
-VE_ARCHIVES := tar cpio
+VE_ARCHIVES := tar cpio ubifs
 VE_COMPRESSORS := gz xz# there&apos;s no sense in bzip2 by now
 VE_ZIPS := $(call addsuffices, \
                $(addprefix .,$(VE_COMPRESSORS)), \

появляется возможность собирать ubifs для arm, например (sam9x25-ek):
make \
 PACK_UBI_MIN_IO_SIZE=2KiB \
 PACK_UBIFS_OPTS=&quot;-e 124KiB -c 1984&quot; \
 PACK_UBI_OPTS=&quot;-p 128KiB -s 2048&quot; \
 PACK_UBI_VOL_TYPE=dynamic \
 PACK_UBI_VOL_NAME=rootfs \
 PACK_UBI_VOL_FLAGS=autoresize \
 HSH_EXCLUDE_DOCS=1 ARCH=arm APTCONF=apt.conf.sisyphus.arm ve/generic.ubifs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134957</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-17 22:18:59 +0400</bug_when>
    <thetext>Замечательно, всё думал добраться и не успел пока :)

Не хотите свой коммит приложить/прислать, чтоб Author: соответствовал?
В понедельник предполагаю делать очередной выпуск.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134959</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Liakhovets">a.o.liakh</who>
    <bug_when>2012-11-17 23:16:24 +0400</bug_when>
    <thetext>Максимум, что осилил:

From f3cbbe2a19a15aad72328e1c7966bfa3fb12dab8 Mon Sep 17 00:00:00 2001
From: Andrey Liakhovets &lt;liakh@dol.ru&gt;
Date: Sat, 17 Nov 2012 22:45:27 +0400
Subject: Enable ubifs packing of result.

---
 features.in/pack/config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features.in/pack/config.mk b/features.in/pack/config.mk
index eb2413b..d04387a 100644
--- a/features.in/pack/config.mk
+++ b/features.in/pack/config.mk
@@ -16,7 +16,7 @@ else
 endif
 
 # virtual environments
-VE_ARCHIVES := tar cpio
+VE_ARCHIVES := tar cpio ubifs
 VE_COMPRESSORS := gz xz# there&apos;s no sense in bzip2 by now
 VE_ZIPS := $(call addsuffices, \
                $(addprefix .,$(VE_COMPRESSORS)), \
-- 
1.7.11.7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134965</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-18 03:38:10 +0400</bug_when>
    <thetext>Спасибо (осиливать удобно git format-patch&apos;ем, надо было мне сразу уточнить);
заодно и до armh добрался.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135027</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-20 02:10:53 +0400</bug_when>
    <thetext>Ушло на git.alt и в сизиф.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>