<commit_before>#!/bin/bash

mkdir -p /etc/portage/package.use/
cat <<DATAEOF > /etc/portage/package.use/initramfs
sys-fs/lvm2 static -udev
DATAEOF

emerge -1 sys-fs/lvm2

# Make dirs
mkdir -p ./etc
mkdir -p ./bin
mkdir -p ./dev/{fb,misc,vc}
mkdir -p ./lib
mkdir -p ./lib64/splash/{proc,sys}
mkdir -p ./mnt/root
mkdir -p ./proc
mkdir -p ./root
mkdir -p ./sbin
mkdir -p ./sys

# Create devices
sudo mknod -m 644 ./dev/console c 5 1 &> /dev/null
sudo mknod -m 644 ./dev/null c 1 3 &> /dev/null
sudo mknod -m 644 ./dev/tty0 c 4 0 &> /dev/null

# Add compiled files from host os.
cp /bin/busybox ./bin/busybox
cp /sbin/lvm.static ./sbin/lvm

rm /etc/portage/package.use/initramfs
emerge -1 sys-fs/lvm2
<commit_msg>update install<commit_after>#!/bin/bash

mkdir -p /etc/portage/package.use/
cat <<DATAEOF > /etc/portage/package.use/initramfs
sys-apps/util-linux static-libs
sys-fs/lvm2 static -udev
DATAEOF

emerge -1 sys-fs/lvm2

# Make dirs
mkdir -p ./etc
mkdir -p ./bin
mkdir -p ./dev/{fb,misc,vc}
mkdir -p ./lib
mkdir -p ./lib64/splash/{proc,sys}
mkdir -p ./mnt/root
mkdir -p ./proc
mkdir -p ./root
mkdir -p ./sbin
mkdir -p ./sys

# Create devices
sudo mknod -m 644 ./dev/console c 5 1 &> /dev/null
sudo mknod -m 644 ./dev/null c 1 3 &> /dev/null
sudo mknod -m 644 ./dev/tty0 c 4 0 &> /dev/null

# Add compiled files from host os.
cp /bin/busybox ./bin/busybox
cp /sbin/lvm.static ./sbin/lvm

rm /etc/portage/package.use/initramfs
emerge -1 sys-fs/lvm2

{'fraction_non_alphanumeric': 0.16126809097174363, 'fraction_numerical': 0.03170227429359063, 'mean_word_length': 2.63, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3972132', 'n_tokens_mistral': 682, 'n_tokens_neox': 616, 'n_words': 187}