Editing LTO Tape/6
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 69: | Line 69: | ||
In RHEL/CentOS 8, install the dependencies: | In RHEL/CentOS 8, install the dependencies: | ||
sudo dnf install rpm-build rpmdevtools | |||
First, create the rpmbuild setuptree in your home directory. | First, create the rpmbuild setuptree in your home directory. | ||
rpmdev-setuptree | |||
Download [https://github.com/piste2750/rpm-ltfs/blob/master/ltfs.spec this .spec file, and place it into ~/rpmbuild/SPECS/ltfs.spec]. Then run the following src.rpm packaging command. | Download [https://github.com/piste2750/rpm-ltfs/blob/master/ltfs.spec this .spec file, and place it into ~/rpmbuild/SPECS/ltfs.spec]. Then run the following src.rpm packaging command. | ||
rpmbuild -bb ~/rpmbuild/SPECS/ltfs.spec | |||
Install the dependencies needed to build the source rpm. | Install the dependencies needed to build the source rpm. | ||
sudo dnf builddep ~/rpmbuild/SRPMS/ltfs-2.4.1.2-10254.src.rpm | |||
Build an rpm from a .src.rpm file: | Build an rpm from a .src.rpm file: | ||
rpmbuild --rebuild ~/rpmbuild/SRPMS/ltfs-2.4.1.2-10254.src.rpm | |||
Now the rpms can be installed | Now the rpms can be installed | ||
cd ~/rpmbuild/RPMS/x86_64 | cd ~/rpmbuild/RPMS/x86_64 | ||
sudo dnf localinstall ltfs-2.4.1.2-10254.x86_64.rpm ltfs-debuginfo-2.4.1.2-10254.x86_64.rpm ltfs-debugsource-2.4.1.2-10254.x86_64.rpm | sudo dnf localinstall ltfs-2.4.1.2-10254.x86_64.rpm ltfs-debuginfo-2.4.1.2-10254.x86_64.rpm ltfs-debugsource-2.4.1.2-10254.x86_64.rpm | ||
Now the LTO Drive can be used. Skip all the build and install instructions in this post and use that: | Now the LTO Drive can be used. Skip all the build and install instructions in this post and use that: |