이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 4. Listing RPM update package contents


You can preview the contents of a MicroShift RPM package update before installing.

4.1. Listing the contents of the MicroShift RPM release package

To see the images included with a MicroShift release, you can list the contents of the microshift-release-info RPM by downloading and unpacking the RPM.

Prerequisites

  • You are using Red Hat Enterprise Linux (RHEL) or an operating system with an RPM package manager.
  • Your MicroShift repositories are enabled.

Procedure

  1. Optional: List which versions of the MicroShift RPM are available for download by running the following command:

    $ sudo dnf repoquery microshift-release-info-0:4.17.* 1
    1
    Replace the example value 4.17.* with the major and minor release numbers you are interested in.

    Example output

    Updating Subscription Management repositories.
    microshift-release-info-0:4.17.1-202406281132.p0.g8babeb9.assembly.4.17.1.el9.noarch
    microshift-release-info-0:4.17.10-202408291007.p0.g6e4ee4d.assembly.4.17.10.el9.noarch
    microshift-release-info-0:4.17.2-202407040825.p0.g2e0407e.assembly.4.17.2.el9.noarch
    microshift-release-info-0:4.17.3-202407111123.p0.ge4206d3.assembly.4.17.3.el9.noarch
    microshift-release-info-0:4.17.4-202407191908.p0.g057a9af.assembly.4.17.4.el9.noarch
    microshift-release-info-0:4.17.5-202407250951.p0.g0afcb57.assembly.4.17.5.el9.noarch
    microshift-release-info-0:4.17.6-202408010822.p0.gc4ded66.assembly.4.17.6.el9.noarch
    microshift-release-info-0:4.17.7-202408081107.p0.g0597bb8.assembly.4.17.7.el9.noarch
    microshift-release-info-0:4.17.8-202408150851.p0.gc8a3bb1.assembly.4.17.8.el9.noarch
    microshift-release-info-0:4.17.9-202408220842.p0.gefa92a2.assembly.4.17.9.el9.noarch

  2. Download the RPM package you want by running the following command:

    $ sudo dnf download microshift-release-info-<release_version> 1
    1
    Replace <release_version> with the numerical value of the release you are deploying, using the entire version number, for example, 4.17.1.

    Example output

    microshift-release-info-4.17.1.-202311101230.p0.g7dc6a00.assembly.4.17.1.el9.noarch.rpm 1

    1
    Your output should contain the date and commit ID.
  3. Unpack the RPM package without installing it by running the following command:

    $ rpm2cpio <microshift_release_info> | cpio -idmv 1
    1
    Replace <microshift_release_info> with the name of the RPM package from the previous step. For example, microshift-release-info-4.17.10-202408291007.p0.g6e4ee4d.assembly.4.17.10.el9.noarch.rpm.

    Example output

    ./usr/share/microshift
    ./usr/share/microshift/blueprint
    ./usr/share/microshift/blueprint/blueprint-aarch64.toml
    ./usr/share/microshift/blueprint/blueprint-x86_64.toml
    ./usr/share/microshift/release
    ./usr/share/microshift/release/release-aarch64.json
    ./usr/share/microshift/release/release-x86_64.json

  4. List the contents by running the following command:

    $ cat ./usr/share/microshift/release/release-x86_64.json

    Example output

    {
      "release": {
        "base": "4.17.10"
      },
      "images": {
        "cli": "....
    # ...

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.