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

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

    <bug>
          <bug_id>44408</bug_id>
          
          <creation_ts>2022-11-23 16:37:12 +0300</creation_ts>
          <short_desc>Поддержка установки rootfs на nvme</short_desc>
          <delta_ts>2023-01-20 18:53:02 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alt-rootfs-installer</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>antohami</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>217840</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-11-23 16:37:12 +0300</bug_when>
    <thetext>На HiFive Unmatched хотел раскатать регулярку из тарбола:

# alt-rootfs-installer --target=HiFive-Unmatched --rootfs=regular-xfce-20221123-riscv64.tar.xz --media=/dev/nvme0n1
Selected Media: /dev/nvme0n1
Target: HiFive-Unmatched
Selected rootfs: /root/regular-xfce-20221123-riscv64.tar.xz
System console: ttySIF0,115200
Log file: /tmp/.private/root/alt-rootfs-installer.log
VNC: disabled
WARNING! ALL DATA WILL BE DESTROYED
Would you like to continue? [Yes/No]
Yes
* Clean old partitions table at /dev/nvme0n1...
[DONE]
* Creating disklabel  at /dev/nvme0n1...
[DONE]
* Creating root partition...
[DONE]
* Informing kernel about partition table changes...
[DONE]
* Formating /dev/nvme0n11 root partition to ext4...
[FAIL]
Error: alt-rootfs-installer: failed to format ROOT partition
# alt-rootfs-installer --version
alt-rootfs-installer-0.5.5

Очевидно, что раздела /dev/nvme0n11 у меня нет, а есть /dev/nvme0n1p1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>217842</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2022-11-23 17:08:31 +0300</bug_when>
    <thetext>Попробуй:
https://git.altlinux.org/people/antohami/packages/alt-rootfs-installer.git?p=alt-rootfs-installer.git;a=shortlog;h=refs/heads/devel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220430</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-01-20 18:53:02 +0300</bug_when>
    <thetext>alt-rootfs-installer-0.5.6-alt1 -&gt; sisyphus:

 Fri Jan 20 2023 Anton Midyukov &lt;antohami@altlinux&gt; 0.5.6-alt1
 - add nvme support (Closes: 44408)
 - socs-utils: fix clear_riscv64_bootloader_partition for /dev/mmcblkXpN
 - socs-utils: use oflag=direct for dd when write image
 - Update list of supported boards for u-boot 2023.01</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>