<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>int128</author_name>
  <author_url>https://blog.hatena.ne.jp/int128/</author_url>
  <blog_title>GeekFactory</blog_title>
  <blog_url>https://int128.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>coLinux</anon>
  </categories>
  <description>initramfsを作成するとき、すべてのバイナリをstaticビルドするのは面倒です。そこで、依存する共有ライブラリを検出し、ついでにcpioアーカイブまでやってくれるスクリプトを書きました。 使い方 initramfsに含めたい実行ファイルを引数に指定します。実行ファイルと必要な共有ライブラリを initramfs ディレクトリ以下にコピーし、cpioにアーカイブします。出来上がった initramfs.gz はそのままブートローダで使用できます。引数には実行ファイル以外も指定できます。引数がない場合は単にcpioアーカイブを生成します。 $ ./createinitramfs /bin/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F20080622%2F1214066340&quot; title=&quot;依存ライブラリを自動検出してinitramfsを生成するスクリプト - GeekFactory&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-06-22 01:39:00</published>
  <title>依存ライブラリを自動検出してinitramfsを生成するスクリプト</title>
  <type>rich</type>
  <url>https://int128.hatenablog.com/entry/20080622/1214066340</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
