LTIB for ubuntu12.04
2024-10-01 16:23:26
在 ltib 目录中执行以下代码:
cd <your ltib folder>
./patch-ltib-ubuntu12.04.sh
patch -p1 < patch-dist-ubuntu12.04.patch
其中 patch-ltib-ubuntu12.04.sh 与 patch-dist-ubuntu12.04.patch 见下文
patch-ltib-ubuntu12.04.sh
#!/usr/bin/env bash # get the patch tarball and untar it
wget -O ubuntu-ltib-patch.tgz https://community.freescale.com/servlet/JiveServlet/downloadBody/93454-102-3-2834/ubuntu-ltib-patch.tgz
tar -xzvf ubuntu-ltib-patch.tgz # execute the script which do the patching
ltibDir=`pwd`
cd ubuntu-ltib-patch
./install-patches.sh $ltibDir
patch-dist-ubuntu12.04.patch
diff -uNr old/dist/lfs-5.1/base_libs/base_libs.spec new/dist/lfs-5.1/base_libs/base_libs.spec
--- old/dist/lfs-5.1/base_libs/base_libs.spec -- ::21.897348939 +
+++ new/dist/lfs-5.1/base_libs/base_libs.spec -- ::58.175937281 +
@@ -, +, @@ # remove absolute paths from text search files (if they exist)
perl -w -e '
- @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;
+ @ARGV = grep { `file $_` =~ m,ASCII\s+.*text, } @ARGV;
exit() unless @ARGV;
$^I = ".bak";
while(<>) {
diff -uNr old/dist/lfs-5.1/glibc/glibc-2.3..spec new/dist/lfs-5.1/glibc/glibc-2.3..spec
--- old/dist/lfs-5.1/glibc/glibc-2.3..spec -- ::13.149349103 +
+++ new/dist/lfs-5.1/glibc/glibc-2.3..spec -- ::22.835937109 +
@@ -, +, @@ # remove absolute paths from text search files (if they exist)
perl -w -e '
- @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;
+ @ARGV = grep { `file $_` =~ m,ASCII\s+.*text, } @ARGV;
exit() unless @ARGV;
$^I = ".bak";
while(<>) {
diff -uNr old/dist/lfs-5.1/glibc/glibc.spec new/dist/lfs-5.1/glibc/glibc.spec
--- old/dist/lfs-5.1/glibc/glibc.spec -- ::13.145349103 +
+++ new/dist/lfs-5.1/glibc/glibc.spec -- ::48.431936930 +
@@ -, +, @@ # remove absolute paths from text search files (if they exist)
perl -w -e '
- @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;
+ @ARGV = grep { `file $_` =~ m,ASCII\s+.*text, } @ARGV;
exit() unless @ARGV;
$^I = ".bak";
while(<>) {
diff -uNr old/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec new/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec
--- old/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec -- ::59.141349366 +
+++ new/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec -- ::10.143878188 +
@@ -, +, @@
%patch1 -p1 %Build
-#export CAIRO_CFLAGS="-I${DEV_IMAGE}/usr/include/cairo"
-#export CAIRO_LIBS="-L${DEV_IMAGE}/usr/lib/cairo"
-#export LIBS="-lcairo" ./configure --prefix=%{_prefix} --host=$CFGHOST \
--build=%{_build} --without-check \
最新文章
- 阿里云服务器上开启linux远程桌面连接
- Eclipse CDT launch failed.Binary not found in Linux/Ubuntu
- Linux学习笔记(20) Linux系统管理
- string.Format格式化
- php之无限极分类
- 转发细节——forward
- opencv + numpy for python
- UVA 816 Abbott’s Revenge
- 四、spark常用函数说明学习
- Netty 学习 一、初识Netty【原创】
- 网络流问题 P2763 试题库问题
- ES6学习笔记(let,const,变量的解构赋值)
- window.innerWidth和document.body.clientWidth的区别
- 对Functional Language的认识
- Oracle中的时间函数用法(to_date、to_char) (总结)
- AngularJS 表达式 对象和数组
- idea 2018注册码(激活码)永久性的
- HDFS高可用性及其分布式系统思想基础
- sqoop 补充
- python随机验证码函数