Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 83716
Collapse All | Expand All

(-)gen_compile.sh (+1 lines)
Lines 271-276 Link Here
271
			gen_die 'bzip2 compression of busybox failed!'
271
			gen_die 'bzip2 compression of busybox failed!'
272
		mv "${TEMP}/${BUSYBOX_DIR}/busybox.bz2" "${BUSYBOX_BINCACHE}" ||
272
		mv "${TEMP}/${BUSYBOX_DIR}/busybox.bz2" "${BUSYBOX_BINCACHE}" ||
273
			gen_die 'Could not copy the busybox binary to the package directory, does the directory exist?'
273
			gen_die 'Could not copy the busybox binary to the package directory, does the directory exist?'
274
		mv "${TEMP}/${BUSYBOX_DIR}/busybox.links" "${CACHE}" || gen_die 'Could not copy busybox symlinks file'
274
275
275
		cd "${TEMP}"
276
		cd "${TEMP}"
276
		rm -rf "${BUSYBOX_DIR}" > /dev/null
277
		rm -rf "${BUSYBOX_DIR}" > /dev/null
(-)gen_initrd.sh (-5 / +3 lines)
Lines 162-173 Link Here
162
		fi
162
		fi
163
	fi	
163
	fi	
164
164
165
	for i in '[' ash basename cat chroot clear cp dirname echo env false find \
165
	for i in `sort ${CACHE}/busybox.links | uniq`; do
166
	grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \
167
	pivot_root ps awk pwd rm rmdir rmmod sed sh sleep tar test touch true umount uname \
168
	xargs yes zcat chmod chown cut kill killall; do
169
		rm -f ${TEMP}/initrd-temp/bin/$i > /dev/null
166
		rm -f ${TEMP}/initrd-temp/bin/$i > /dev/null
170
		ln  ${TEMP}/initrd-temp/bin/busybox ${TEMP}/initrd-temp/bin/$i ||
167
		print_info 2 "Linking /bin/busybox to $i"
168
		ln  ${TEMP}/initrd-temp/bin/busybox ${TEMP}/initrd-temp/$i ||
171
			gen_die "Busybox error: could not link ${i}!"
169
			gen_die "Busybox error: could not link ${i}!"
172
	done
170
	done
173
}
171
}

Return to bug 83716