Skip to content

Commit

Permalink
Remove invalid directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Apr 25, 2024
1 parent 2a6c5cd commit 3f83d6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -294,7 +294,7 @@ copy_rootfs() {
mkdir -p ${DIR_INSTALL}/{boot/,dev/,media/,mnt/,proc/,run/,sys/,tmp/}
chmod 777 ${DIR_INSTALL}/tmp
# Copy the relevant directory
COPY_SRC="etc home lib64 opt root selinux srv usr var"
COPY_SRC="etc home opt root selinux srv usr var"
for src in ${COPY_SRC}; do
echo -e "${INFO} Copy the [ ${src} ] directory."
tar -cf - ${src} | (
Expand Down
Expand Up @@ -524,7 +524,7 @@ copy_rootfs() {
mkdir -p ${DIR_INSTALL}/{boot/,dev/,media/,mnt/,proc/,run/,sys/,tmp/}
chmod 777 ${DIR_INSTALL}/tmp
# Copy the relevant directory
COPY_SRC="etc home lib64 opt root selinux srv usr var"
COPY_SRC="etc home opt root selinux srv usr var"
for src in ${COPY_SRC}; do
echo -e "${INFO} Copying [ ${src} ] ..."
tar -cf - ${src} | (
Expand Down

0 comments on commit 3f83d6a

Please sign in to comment.