12.2-rc1
multilib
trunk
xry111/arm64
xry111/clfs-ng
xry111/loongarch
Last change
on this file since b3c50e0 was a1422e1, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago |
Fix make-aux-file for lfs-bootscript entities
now, grep returns two lines. Keep only the first one, and
add a comment in packages;ent so that the first line is the
one we want!
|
-
Property mode
set to
100755
|
File size:
682 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | rm -f lfs-bootscripts*.tar.?z*
|
---|
4 |
|
---|
5 | # Get base file name and move bootscripts directory to that name
|
---|
6 | version=`grep "ENTITY lfs-bootscripts-version" packages.ent | head -n1| cut -d'"' -f2`
|
---|
7 | mv bootscripts lfs-bootscripts-$version
|
---|
8 |
|
---|
9 | # Create the tarball and clean up
|
---|
10 | tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version
|
---|
11 | mv lfs-bootscripts-$version bootscripts
|
---|
12 |
|
---|
13 | #rm -f udev-config*.bz2
|
---|
14 |
|
---|
15 | # Get file name and move udev config directory to that name
|
---|
16 | #version=`grep "ENTITY udev-config " packages.ent |cut -d'"' -f2`
|
---|
17 | #mv udev-config $version
|
---|
18 |
|
---|
19 | # Create the tarball and clean up
|
---|
20 | #tar -cjf $version.tar.bz2 --exclude .svn $version
|
---|
21 | #mv $version udev-config
|
---|
22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.