summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2008-12-02 09:01:33 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2008-12-02 09:01:33 (GMT)
commit56b0ac3ddfdc91139fcbe0e11dc946978ae04a42 (patch)
tree6239df4065119b5b7de9c489e16f80022ca900e2
parent597d7a7a5383da4ba6ec9866e0b70962b68b2417 (diff)
parent699d87c76662d820f97a6c4b0ab151fac849770b (diff)
downloadlinhes_dev-56b0ac3ddfdc91139fcbe0e11dc946978ae04a42.zip
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-dev
-rw-r--r--.gitignore2
-rw-r--r--README45
-rwxr-xr-xbuild_tools/bin/kmsync.sh58
-rwxr-xr-xbuild_tools/bin/mp31
l---------build_tools/bin/mpl1
-rw-r--r--build_tools/clarch/larch/buildlive5
-rw-r--r--build_tools/clarch/larch/profiles/MV-local/addedpacks19
-rw-r--r--build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg2
-rw-r--r--build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch18
-rw-r--r--build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks3
-rw-r--r--build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg9
-rwxr-xr-xbuild_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local10
-rw-r--r--build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks3
-rw-r--r--build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg9
-rwxr-xr-xbuild_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local10
-rw-r--r--build_tools/clarch/larch/profiles/i686-testing-local/addedpacks3
-rw-r--r--build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg9
-rwxr-xr-xbuild_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local10
-rwxr-xr-xsetup_env.sh2
19 files changed, 201 insertions, 48 deletions
diff --git a/.gitignore b/.gitignore
index 1904290..0561371 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,5 @@ overlay.xpk
*.swp
.directory
.viminfo
+build_tools/clarch/profiles/local
+local
diff --git a/README b/README
index 5918e84..e1f52d1 100644
--- a/README
+++ b/README
@@ -63,9 +63,12 @@ a) mp
be called from the same directory that contains the PKGBUILD.
This script takes all the same arguments that makepkg takes.
-b) mpr
- Symlink to mp that does the same thing as mp except it copies the
- package to the release repo
+b) mpr | mpl
+ mpr) Symlink to mp that does the same thing as mp except it copies the
+ package to the release repo
+
+ mpr) Symlink to mp that does the same thing as mp except it copies the
+ package to a local repo
c) update_db_repo
Used to completely regenerate the the local package database.
@@ -73,19 +76,24 @@ c) update_db_repo
the repository. Example:
update_db_repo /data/pkg_repo/i686/core-testing core-testing
-d) kmsync.sh (testing|release|chroot-devel
+d) kmsync.sh (testing|release|chroot-devel|source[testing|release|chroot-devel]
This script is used to synchronize the contents of the compiled
packages on knoppmyth.net and the ones on your local machine.
- The script takes 1 argument telling it which repository with which
+ The script takes 1 or 2 arguments telling it which repository with which
to sync up. The first time it's run with any given option the local
directory (/data/pkg_repo/i686/core|extra|chroot-devel)
MUST MUST MUST be empty.
Please use this script with care, any changes that are made in the
local mirror will be copied to the knoppmyth server.
This includes the possibility to completely erase all the packages.
+ Normally the source packages are synced when the binary packages are synced. The
+ source option is present to force an update, and isn't not normally required to be run.
+
Finally this script uses a shared user account on knoppmyth.net that
is a locked account. SSH keys must be setup for this script to work.
+
+
e) build_tools/go.sh
Menu driven fronted to create an ISO with selected profile
The following profiles are available to create an iso.
@@ -103,24 +111,33 @@ e) build_tools/go.sh
location of the resulting ISO. For any of the local profiles to work, it
requires that kmsync be run at least once to populate the local mirror.
-Quick start showing typical process
+Quick start showing typical process to create the chroot and build an ISO.
############
Create the chroot for i686
+First checkout the repo
+- Restricted dev accounts should use
+ git clone $user@knoppmyth.net:LinHES-PKGBUILD
+ git clone $user@knoppmyth.net:LinHES-dev
+
+- Unresticted dev account should use
+ git clone ssh://$user@knoppmyth.net/mount/repository/LinHES-dev
+ git clone ssh://$user@knoppmyth.net/mount/repository/LinHES-PKGBUILD
-git clone ssh://jams@knoppmyth.net/mount/repository/LinHES-dev
-git clone ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
cd LinHES-dev/
./setup_env.sh i686
cd ..
- ./enter_dev_chroot.i686.sh
+ ./enter_dev_chroot.i686.sh
Build and iso from knoppmyth.net
cdb <= alias
./go.sh
- (select i686-testing-REMOTE)
+ (select i686-testing-REMOTE)
-commands used to build a package (tar in this example), and update knoppmyth.net
+#---------
+Commands used to build a package (tar in this example), and update knoppmyth.net
+Before building ANY packages you __MUST__ run "kmsync.sh testing" at least once while the local package directories are still empty.
+Doing this step now will avoid sync headaches down the road.
cdl <= alias that takes you the the top level PKGBUILD directory
cd core-testing
@@ -128,9 +145,9 @@ cd tar
vi PKGBUILD <= bump the pkgrel line by 1
mp
# at this point you should test the package, either by building
-# a new iso or installing the package)
-kmsync.sh testing <= this will pull down all changes from knoppmyth.net
- and upload the new tar package
+# a new iso or installing the package)
+kmsync.sh testing <= this will pull down all new packages from knoppmyth.net
+ and upload the new tar package. This will also sync up the src packages.
-----------------------
Misc.
diff --git a/build_tools/bin/kmsync.sh b/build_tools/bin/kmsync.sh
index 4308786..c15bef4 100755
--- a/build_tools/bin/kmsync.sh
+++ b/build_tools/bin/kmsync.sh
@@ -27,6 +27,7 @@ function sync_dirs {
#first bring down new changes from knoppmyth.net
unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE $LOCAL
+
if [ ! $? = 0 ]
then
echo "#######################################################"
@@ -43,11 +44,50 @@ function sync_dirs {
echo "-------------------------------------------------------"
echo "----------- Finished with $3 -----------"
echo "-------------------------------------------------------"
+}
+function source_sync () {
+ src_repo=$1
+ case $1 in
+ testing )
+ echo "updating source packages"
+ REMOTE_DIR=/mount/repository/repo/src_packages/core-testing
+ LOCAL=/data/pkg_repo/src_packages/core-testing
+ unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL
+
+ REMOTE_DIR=/mount/repository/repo/src_packages/extra-testing
+ LOCAL=/data/pkg_repo/src_packages/extra-testing
+ unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL
+ ;;
+
+ release )
+ echo "updating source packages"
+ REMOTE_DIR=/mount/repository/repo/src_packages/core
+ LOCAL=/data/pkg_repo/src_packages/core
+ unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL
+
+ REMOTE_DIR=/mount/repository/repo/src_packages/extra
+ LOCAL=/data/pkg_repo/src_packages/extra
+ unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL
+ ;;
+ chroot-devel )
+ echo "updating source packages"
+ REMOTE_DIR=/mount/repository/repo/src_packages/chroot-devel
+ LOCAL=/data/pkg_repo/src_packages/chroot-devel
+ unison km-down -logfile /tmp/unison-down.log -auto -batch -numericids ssh://reposync@knoppmyth.net/$REMOTE_DIR $LOCAL
+ ;;
+
+
+
+ *)
+ echo "need to know the source repository [testing|release|chroot-devel]"
+ exit 1
+ ;;
+esac
+}
-}
#---------------------------------------------------------------
if [ ! -d $UNISON ]
then
@@ -66,26 +106,40 @@ fi
+
+
clear
case $1 in
testing)
#sync_dirs $REMOTE $LOCAL
sync_dirs $REMOTE_DIR/$CARCH/core-testing $DOCROOT/core-testing core-testing
sync_dirs $REMOTE_DIR/$CARCH/extra-testing $DOCROOT/extra-testing extra-testing
+ source_sync testing
;;
release)
sync_dirs $REMOTE_DIR/$CARCH/core $DOCROOT/core core
sync_dirs $REMOTE_DIR/$CARCH/extra $DOCROOT/extra extra
+ source_sync release
;;
chroot-devel)
echo "will update chroot-devel"
sync_dirs $REMOTE_DIR/$CARCH/chroot-devel $DOCROOT/chroot-devel chroot-devel
+ source_sync chroot-devel
+ ;;
+
+ source)
+ if [ x = x$2 ]
+ then
+ echo "need to know the source repository [testing|release|chroot-devel]"
+ exit 1
+ fi
+ source_sync $2
;;
*)
echo "invalid options"
- echo "kmsync.sh (testing|release|chroot-devel) "
+ echo "kmsync.sh (testing|release|chroot-devel|source[testing|release|chroot-devel]) "
echo
echo "EX: kmsync.sh testing <= will sync the testing repo with km.net update the local database and resync with km.net"
#echo "kmsync.sh testing oneway <= will syncthe testing repo with km.net update the local database"
diff --git a/build_tools/bin/mp b/build_tools/bin/mp
index 76c08ea..102454e 100755
--- a/build_tools/bin/mp
+++ b/build_tools/bin/mp
@@ -6,9 +6,10 @@
. /etc/makepkg.conf
. PKGBUILD
PKGHOME=/data/pkg_repo/packages
+SRCPKGHOME=/data/pkg_repo/src_packages
mydir=`pwd`
TOTALPKG="$pkgname"-"$pkgver"-"$pkgrel"-"$CARCH".pkg.tar.gz
-
+SRCPKG="$pkgname"-"$pkgver"-"$pkgrel".src.tar.gz
if [ x`basename $0` = xmpr ]
then
@@ -20,6 +21,7 @@ fi
+
function find_repo {
echo $mydir|grep -q "extra"
if [ $? = 0 ]
@@ -40,7 +42,15 @@ function find_repo {
REPO=mv-core
fi
+ if [ x`basename $0` = xmpl ]
+ then
+ REPO="local"
+ fi
DOCROOT=/data/pkg_repo/$CARCH/$REPO
+ if [ ! -e $DOCROOT ]
+ then
+ mkdir -p $DOCROOT
+ fi
}
@@ -67,13 +77,30 @@ function update-repo {
}
+function update-src-pkg {
+ DELPKG="$pkgname"-"$pkgver"-*.src.tar.gz
+ echo "Removing old src pkg"
+ if [ ! -d $PKGHOME/$REPO/$SRCPKG ]
+ then
+ echo "Creating src_pkg directory"
+ mkdir -p $SRCPKGHOME/$REPO
+ fi
+ rm -vf $SRCPKGHOME/$REPO/$DELPKG
+ echo "copying src_pkg to $SRCPKGHOME/$REPO"
+ cp -f $PKGHOME/$SRCPKG $SRCPKGHOME/$REPO
+}
-
+#MAIN PROGRAM
find_repo
makepkg --holdver --asroot $@ || exit 1
echo "---------updating database ----------"
update-repo #&& pacman -Sy
+echo "----------creating source package---------"
+makepkg -f --holdver --asroot --source && update-src-pkg
+
+
+
diff --git a/build_tools/bin/mpl b/build_tools/bin/mpl
new file mode 120000
index 0000000..691afc3
--- /dev/null
+++ b/build_tools/bin/mpl
@@ -0,0 +1 @@
+mp \ No newline at end of file
diff --git a/build_tools/clarch/larch/buildlive b/build_tools/clarch/larch/buildlive
index 4fe1a90..8b734d2 100644
--- a/build_tools/clarch/larch/buildlive
+++ b/build_tools/clarch/larch/buildlive
@@ -87,8 +87,9 @@ mklive ()
echo "ERROR: No aufs or unionfs module found"
fail=1
fi
-
- mustpacs="linhes-live lzop tar squashfs-tools"
+ #a live package of some sort needs to be installed, but not specificly linhes-live
+ #mustpacs="linhes-live lzop tar squashfs-tools"
+ mustpacs="lzop tar squashfs-tools"
if [ -z "${GRUB}" ]; then
mustpacs="${mustpacs} syslinux"
fi
diff --git a/build_tools/clarch/larch/profiles/MV-local/addedpacks b/build_tools/clarch/larch/profiles/MV-local/addedpacks
index f518409..b1b6a2a 100644
--- a/build_tools/clarch/larch/profiles/MV-local/addedpacks
+++ b/build_tools/clarch/larch/profiles/MV-local/addedpacks
@@ -1,5 +1,6 @@
# These are needed to build a live CD
-linhes-live
+#linhes-live
+mythvantage-live
squashfs-tools
lzop
@@ -121,14 +122,14 @@ syslog-ng
ttf-bitstream-vera
xine-lib
-#syth-lacquer-wide
-#Midnight-wide
-#Midnight-blue
-#basic-blue
-#basic-green
-#basic-amber
-#basic-purple
-#basic-red
+syth-lacquer-wide
+Midnight-wide
+Midnight-blue
+basic-blue
+basic-green
+basic-amber
+basic-purple
+basic-red
MythVantage-system
diff --git a/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg
index 6686db4..a4c7998 100644
--- a/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg
+++ b/build_tools/clarch/larch/profiles/MV-local/cd-root/isolinux/isolinux.cfg
@@ -24,6 +24,7 @@ KERNEL vmlinuz
APPEND vga=normal initrd=larch.img noauto ip=dhcp netdev=eth0
LABEL MythVantage-remote
+KERNEL vmlinuz
APPEND vga=normal initrd=larch.img noauto ip=dhcp remote=MX-500-jams remoteport=ttyS0
LABEL MythVantage-static-ip
@@ -33,6 +34,5 @@ APPEND vga=normal initrd=larch.img noauto vnc ip=192.168.1.222 netmask=255.255.
LABEL Boot_from_hardrive
localboot 0xffff
-
MENU ROWS 6
diff --git a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch
index 69a1ce0..4bdc25f 100644
--- a/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch
+++ b/build_tools/clarch/larch/profiles/MV-local/post_process/rc.sysinit.patch
@@ -1,14 +1,14 @@
---- rc.sysinit.orig 2008-07-06 19:39:36.000000000 -0500
-+++ rc.sysinit 2008-07-06 19:40:28.000000000 -0500
-@@ -9,10 +9,7 @@
- source_functions
+--- rc.sysinit.orig 2008-11-22 20:47:41.000000000 -0600
++++ rc.sysinit 2008-11-22 20:48:07.000000000 -0600
+@@ -7,9 +7,8 @@
+ . /etc/rc.d/functions
echo " "
--printhl "Arch Linux $C_OTHER(${C_H2}Core Dump$C_OTHER)\n"
--printhl "${C_H2}http://www.archlinux.org"
--printhl "Copyright 2002-2007 Judd Vinet"
--printhl "Copyright 2007-2008 Aaron Griffin"
-+printhl "MythVantage \n"
+-printhl "LinHES"
+-printhl "The Linux Home Entertainment System"
+-printhl "${C_H2}http://www.knoppmyth.net"
++printhl "MythVantage"
++printhl "${C_H2}http://www.mythvantage.com"
printhl "Distributed under the GNU General Public License (GPL)"
printsep
diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks
index 72b0c2d..35a096d 100644
--- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks
+++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/addedpacks
@@ -179,3 +179,6 @@ media_dirs
tweaker
ethtool
nfs-utils
+netkit-telnet
+ntp
+syslog-ng
diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg
index a1a306d..4b41196 100644
--- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg
+++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/cd-root/isolinux/isolinux.cfg
@@ -27,10 +27,17 @@ MENU LABEL with Intel i810 driver (DRI disabled)
kernel vmlinuz
append initrd=larch.img i810
+
+label linux-vesa
+MENU LABEL Force use of vesa driver
+kernel vmlinuz
+append initrd=larch.img forceXvesa
+
+
label linux-nox
MENU LABEL Boot to console (without X windowing)
kernel vmlinuz
-append initrd=larch.img noX
+append initrd=larch.img NoX
label linux-c2r
MENU LABEL LinHES: copy-to-ram (also activates swap)
diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local
index cdd7966..fe7cfa6 100755
--- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local
+++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local
@@ -16,8 +16,14 @@ pacman -S --noconfirm mythdb-initial 2>/dev/null
#search for remote
init_remote
-/root/startx &
-
+echo $CMDLINE | grep -qi NoX
+if [ $? = 0 ]
+then
+ echo "No auto X option found"
+ # /usr/bin/chvt 2
+else
+ /root/startx &
+fi
# Set up automatically logged in user (larch live system only)
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks
index 72b0c2d..35a096d 100644
--- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks
+++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/addedpacks
@@ -179,3 +179,6 @@ media_dirs
tweaker
ethtool
nfs-utils
+netkit-telnet
+ntp
+syslog-ng
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg
index a1a306d..4b41196 100644
--- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg
+++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/cd-root/isolinux/isolinux.cfg
@@ -27,10 +27,17 @@ MENU LABEL with Intel i810 driver (DRI disabled)
kernel vmlinuz
append initrd=larch.img i810
+
+label linux-vesa
+MENU LABEL Force use of vesa driver
+kernel vmlinuz
+append initrd=larch.img forceXvesa
+
+
label linux-nox
MENU LABEL Boot to console (without X windowing)
kernel vmlinuz
-append initrd=larch.img noX
+append initrd=larch.img NoX
label linux-c2r
MENU LABEL LinHES: copy-to-ram (also activates swap)
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local
index cdd7966..fe7cfa6 100755
--- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local
+++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local
@@ -16,8 +16,14 @@ pacman -S --noconfirm mythdb-initial 2>/dev/null
#search for remote
init_remote
-/root/startx &
-
+echo $CMDLINE | grep -qi NoX
+if [ $? = 0 ]
+then
+ echo "No auto X option found"
+ # /usr/bin/chvt 2
+else
+ /root/startx &
+fi
# Set up automatically logged in user (larch live system only)
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks b/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks
index 72b0c2d..35a096d 100644
--- a/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks
+++ b/build_tools/clarch/larch/profiles/i686-testing-local/addedpacks
@@ -179,3 +179,6 @@ media_dirs
tweaker
ethtool
nfs-utils
+netkit-telnet
+ntp
+syslog-ng
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg b/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg
index 648fe25..44124cf 100644
--- a/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg
+++ b/build_tools/clarch/larch/profiles/i686-testing-local/cd-root/isolinux/isolinux.cfg
@@ -27,10 +27,17 @@ MENU LABEL with Intel i810 driver (DRI disabled)
kernel vmlinuz
append initrd=larch.img i810
+
+label linux-vesa
+MENU LABEL Force use of vesa driver
+kernel vmlinuz
+append initrd=larch.img forceXvesa
+
+
label linux-nox
MENU LABEL Boot to console (without X windowing)
kernel vmlinuz
-append initrd=larch.img noX
+append initrd=larch.img NoX
label linux-c2r
MENU LABEL LinHES: copy-to-ram (also activates swap)
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local
index cdd7966..fe7cfa6 100755
--- a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local
+++ b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local
@@ -16,8 +16,14 @@ pacman -S --noconfirm mythdb-initial 2>/dev/null
#search for remote
init_remote
-/root/startx &
-
+echo $CMDLINE | grep -qi NoX
+if [ $? = 0 ]
+then
+ echo "No auto X option found"
+ # /usr/bin/chvt 2
+else
+ /root/startx &
+fi
# Set up automatically logged in user (larch live system only)
diff --git a/setup_env.sh b/setup_env.sh
index 6867b04..6c4af4f 100755
--- a/setup_env.sh
+++ b/setup_env.sh
@@ -77,8 +77,10 @@ do
for y in core extra core-testing extra-testing chroot-devel mv-core
do
[ -e $MIRROR_DIR/$i/$y ] || mkdir -p $MIRROR_DIR/$i/$y
+ [ -e $MIRROR_DIR/src_packages/$y ] || mkdir -p $MIRROR_DIR/src_packages/$y
done
done
+
[ -e $MIRROR_DIR/sources ] || mkdir -p $MIRROR_DIR/sources
[ -e $MIRROR_DIR/packages ] || mkdir -p $MIRROR_DIR/packages