Skip to content

Commit

Permalink
added sudo to base-files
Browse files Browse the repository at this point in the history
  • Loading branch information
xn0px90 authored Dec 9, 2023
1 parent ea27622 commit d1bcb1a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions recipes/base-files
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ build() {
}

package() {
cp -prv ${source_dir}/. "${dest_dir}"/
ln -s usr/bin "${dest_dir}"/bin
ln -s usr/bin "${dest_dir}"/sbin
ln -s usr/lib "${dest_dir}"/lib
ln -s usr/lib "${dest_dir}"/lib64
ln -s bin "${dest_dir}"/usr/sbin
ln -s lib "${dest_dir}"/usr/lib64
mkdir "${dest_dir}"/tmp
mkdir "${dest_dir}"/var
sudo cp -prv ${source_dir}/. "${dest_dir}"/
sudo ln -s usr/bin "${dest_dir}"/bin
sudo ln -s usr/bin "${dest_dir}"/sbin
sudo ln -s usr/lib "${dest_dir}"/lib
sudo ln -s usr/lib "${dest_dir}"/lib64
sudo ln -s bin "${dest_dir}"/usr/sbin
sudo ln -s lib "${dest_dir}"/usr/lib64
sudo mkdir "${dest_dir}"/tmp
sudo mkdir "${dest_dir}"/var
}

0 comments on commit d1bcb1a

Please sign in to comment.