projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Retourne une erreur si un custom script est spécifié mais n'existe pas.
[hvlinux.git]
/
stage1
/
pkg
/
e2fsprogs
diff --git
a/stage1/pkg/e2fsprogs
b/stage1/pkg/e2fsprogs
index
49f5977
..
94c9f1d
100644
(file)
--- a/
stage1/pkg/e2fsprogs
+++ b/
stage1/pkg/e2fsprogs
@@
-1,17
+1,22
@@
#!/bin/bash
#!/bin/bash
-CC="${CC} ${CLFS_BUILDFLAGS}"
-PKG_CONFIG=true
+hvconfig_pre()
+{
+ export PKG_CONFIG=true
+
+ CONFIGURE_OPTS="\
+ ${CONFIGURE_OPTS} \
+ --enable-elf-shlibs \
+ --disable-libblkid \
+ --disable-libuuid \
+ --disable-fsck \
+ --disable-uuidd"
+}
-CONFIGURE_OPTS="\
- --prefix=/tools \
- --enable-elf-shlibs \
- --with-linker=${LD} \
- --host=${CLFS_TARGET} \
- --disable-libblkid \
- --disable-libuuid \
- --disable-fsck \
- --disable-uuidd"
+hvconfig_post()
+{
+ unset PKG_CONFIG
+}
hvbuild()
{
hvbuild()
{
@@
-26,7
+31,7
@@
hvbuild()
hvbuild_post()
{
# Create needed symlinks for a bootable system:
hvbuild_post()
{
# Create needed symlinks for a bootable system:
- LINKS="fsck.ext2 fsck.ext3 fsck.ext4 e2fsck"
+ LINKS="fsck.ext2 fsck.ext3 fsck.ext4
fsck.ext4dev
e2fsck"
for link in ${LINKS}; do
ln -svfT /tools/sbin/${link} ${LFS}/sbin/${link}
for link in ${LINKS}; do
ln -svfT /tools/sbin/${link} ${LFS}/sbin/${link}