(command.CommandList children: [ (C {(mirror_style)} {(release)}) (C {(download_style)} {(apt)}) (C {(force_md5)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:LIBC spids:[11]) op: Equal rhs: {(libc6)} spids: [11] ) ] spids: [11] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DPipe] children: [ (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$ARCH'))} {(Lit_Other '=')} {(DQ (alpha))} {(Lit_Other ']')} ) (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$ARCH'))} {(Lit_Other '=')} {(DQ (ia64))} {(Lit_Other ']')} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:LIBC spids:[50]) op: Equal rhs: {(DQ (libc6.1))} spids: [50] ) ] spids: [50] ) ] spids: [16777215 47] ) ] spids: [16777215 55] ) (command.FuncDef name: work_out_debs body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[67]) op: Equal rhs: { (DQ ( 'base-files base-passwd bash bsdutils coreutils libacl1 libattr1 debconf debconf-i18n liblocale-gettext-perl libtext-wrapi18n-perl libtext-charwidth-perl debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2 libss2 libuuid1 findutils grep gzip hostname libcap1 libc6 libdb1-compat libdb3 libncurses5 libnewt0.51 libpam-modules libpam-runtime libpam0g libperl5.8 libpopt0 login makedev mawk modutils mount ncurses-base ncurses-bin passwd perl-base procps sed slang1a-utf8 initscripts sysvinit sysv-rc tar util-linux whiptail libgcc1 gcc-3.3-base libstdc++5' ) ) } spids: [67] ) ] spids: [67] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[74]) op: Equal rhs: { (DQ ( 'adduser apt apt-utils libdb4.2 at base-config aptitude libsigc++-1.2-5c102 bsdmainutils console-common console-tools libconsole console-data cpio cron dhcp-client ed exim4 exim4-base exim4-config exim4-daemon-light libgcrypt11 libgnutls11 libgpg-error0 libopencdk8 libtasn1-2 fdutils gettext-base groff-base ifupdown info klogd libssl0.9.7 liblzo1 zlib1g liblockfile1 libpcre3 libwrap0 logrotate mailx man-db libgdbm3 manpages nano net-tools netbase netkit-inetd iputils-ping nvi ppp pppconfig pppoe pppoeconf libpcap0.7 sysklogd tasksel libtextwrap1 tcpd telnet libtext-iconv-perl wget' ) ) } spids: [74] ) ] spids: [74] ) (command.FuncDef name: without_package body: (command.BraceGroup children: [ (command.Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Number '$2'))}) (C {(tr)} {(SQ <' '>)} {(SQ <'\\n'>)}) (C {(grep)} {(-v)} {(DQ ('^') ($ VSub_Number '$1') (Lit_Other '$'))}) (C {(tr)} {(SQ <'\\n'>)} {(SQ <' '>)}) ] negated: F ) ] spids: [86] ) spids: [81 85] ) (command.FuncDef name: subst_package body: (command.BraceGroup children: [ (command.Pipeline children: [ (C {(echo)} {(DQ ($ VSub_Number '$3'))}) (C {(tr)} {(SQ <' '>)} {(SQ <'\\n'>)}) (C {(sed)} { (DQ ('s/^') ($ VSub_Number '$1') (Lit_Other '$') (/) ($ VSub_Number '$2') (/)) } ) (C {(tr)} {(SQ <'\\n'>)} {(SQ <' '>)}) ] negated: F ) ] spids: [140] ) spids: [135 139] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[191]) op: Equal rhs: {(iptables)} spids: [191] ) ] spids: [191] ) (command.Case to_match: {($ VSub_DollarName '$ARCH')} arms: [ (case_arm pat_list: [{(DQ (alpha))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[209]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(subst_package)} {(DQ (libc6))} {(DQ (libc6.1))} {(DQ ($ VSub_DollarName '$required'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [211 225] ) ) } spids: [209] ) ] spids: [209] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[229]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' pciutils'))} spids: [229] ) ] spids: [229] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[236]) op: Equal rhs: {(DQ (ipchains))} spids: [236] ) ] spids: [236] ) ] spids: [203 206 242 16777215] ) (case_arm pat_list: [{(DQ (arm))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[251]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' libgpmg1'))} spids: [251] ) ] spids: [251] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[258]) op: Equal rhs: {(DQ ('ipchains iptables'))} spids: [258] ) ] spids: [258] ) ] spids: [245 248 264 16777215] ) (case_arm pat_list: [{(DQ (i386))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[273]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ (libperl5.8))} {(DQ ($ VSub_DollarName '$required'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [275 285] ) ) } spids: [273] ) ] spids: [273] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[289]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' pciutils psmisc'))} spids: [289] ) ] spids: [289] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[296]) op: Equal rhs: {(DQ ('ipchains iptables'))} spids: [296] ) ] spids: [296] ) ] spids: [267 270 302 16777215] ) (case_arm pat_list: [{(DQ (ia64))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[311]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(subst_package)} {(DQ (libc6))} {(DQ (libc6.1))} {(DQ ($ VSub_DollarName '$required'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [313 327] ) (' libreadline4') ) } spids: [311] ) ] spids: [311] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[332]) op: Equal rhs: { (DQ ($ VSub_DollarName '$base') (' elilo efibootmgr dosfstools libparted1.6-12 parted') ) } spids: [332] ) ] spids: [332] ) ] spids: [305 308 339 16777215] ) (case_arm pat_list: [{(DQ (m68k))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[348]) op: Equal rhs: {(DQ ($ VSub_DollarName '$required') (' libreadline4'))} spids: [348] ) ] spids: [348] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[355]) op: Equal rhs: { (DQ ($ VSub_DollarName '$base') ( ' atari-bootstrap atari-fdisk amiga-fdisk eject mac-fdisk pmac-fdisk-cross vmelilo' ) ) } spids: [355] ) ] spids: [355] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[362]) op: Equal rhs: {(DQ (ipchains))} spids: [362] ) ] spids: [362] ) ] spids: [342 345 368 16777215] ) (case_arm pat_list: [{(DQ (powerpc))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[377]) op: Equal rhs: {(DQ ($ VSub_DollarName '$required') (' libreadline4'))} spids: [377] ) ] spids: [377] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[384]) op: Equal rhs: { (DQ ($ VSub_DollarName '$base') (' mac-fdisk amiga-fdisk psmisc powerpc-utils pciutils hfsutils') ) } spids: [384] ) ] spids: [384] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[391]) op: Equal rhs: {(DQ ('ipchains iptables'))} spids: [391] ) ] spids: [391] ) ] spids: [371 374 397 16777215] ) (case_arm pat_list: [{(DQ (sparc))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[406]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' silo eject pciutils sparc-utils'))} spids: [406] ) ] spids: [406] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[413]) op: Equal rhs: {(DQ ('ipchains iptables'))} spids: [413] ) ] spids: [413] ) ] spids: [400 403 419 16777215] ) (case_arm pat_list: [{(DQ (mips))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[428]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' dvhtool pciutils'))} spids: [428] ) ] spids: [428] ) ] spids: [422 425 435 16777215] ) (case_arm pat_list: [{(DQ (mipsel))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[444]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' pciutils'))} spids: [444] ) ] spids: [444] ) ] spids: [438 441 451 16777215] ) (case_arm pat_list: [{(DQ (hppa))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[460]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' palo pciutils'))} spids: [460] ) ] spids: [460] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[467]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ ('libstdc++2.10-glibc2.2'))} {(DQ ($ VSub_DollarName '$required'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [469 479] ) ) } spids: [467] ) ] spids: [467] ) ] spids: [454 457 483 16777215] ) (case_arm pat_list: [{(s390)} {(s390x)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[500]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' s390-tools telnetd devfsd'))} spids: [500] ) ] spids: [500] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[507]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ (console-tools-libs))} {(DQ ($ VSub_DollarName '$base'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [509 519] ) ) } spids: [507] ) ] spids: [507] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[523]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ (fdutils))} {(DQ ($ VSub_DollarName '$base'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [525 535] ) ) } spids: [523] ) ] spids: [523] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[539]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ (ppp))} {(DQ ($ VSub_DollarName '$base'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [541 551] ) ) } spids: [539] ) ] spids: [539] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[555]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ (pppconfig))} {(DQ ($ VSub_DollarName '$base'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [557 567] ) ) } spids: [555] ) ] spids: [555] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[571]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ (pppoe))} {(DQ ($ VSub_DollarName '$base'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [573 583] ) ) } spids: [571] ) ] spids: [571] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[587]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ (pppoeconf))} {(DQ ($ VSub_DollarName '$base'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [589 599] ) ) } spids: [587] ) ] spids: [587] ) ] spids: [486 489 603 16777215] ) (case_arm pat_list: [{(sh) (Lit_Other '*')}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[611]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' libstdc++3 gcc-3.0-base'))} spids: [611] ) ] spids: [611] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[618]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ (fdutils))} {(DQ ($ VSub_DollarName '$base'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [620 630] ) ) } spids: [618] ) ] spids: [618] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[634]) op: Equal rhs: {(DQ ($ VSub_DollarName '$required') (' libgcc1'))} spids: [634] ) ] spids: [634] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:required spids:[641]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(without_package)} {(DQ ('libstdc++2.10-glibc2.2'))} {(DQ ($ VSub_DollarName '$required'))} ) ] ) left_token: <Left_CommandSub '$('> spids: [643 653] ) ) } spids: [641] ) ] spids: [641] ) ] spids: [606 608 657 16777215] ) (case_arm pat_list: [{(DQ (amd64))}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[666]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' pciutils psmisc'))} spids: [666] ) ] spids: [666] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:IPFWTOOL spids:[673]) op: Equal rhs: {(DQ (iptables))} spids: [673] ) ] spids: [673] ) ] spids: [660 663 679 16777215] ) (case_arm pat_list:[{(Lit_Other '*')}] spids:[682 683 690 16777215]) ] spids: [196 200 693] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:base spids:[697]) op: Equal rhs: {(DQ ($ VSub_DollarName '$base') (' ') ($ VSub_DollarName '$IPFWTOOL'))} spids: [697] ) ] spids: [697] ) ] spids: [63] ) spids: [58 62] ) (command.FuncDef name: first_stage_install body: (command.BraceGroup children: [ (C {(extract)} {($ VSub_DollarName '$required')}) (C {(mkdir)} {(-p)} {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg))}) (command.SimpleCommand words: [{(Lit_Other ':')}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/status))} ) ] ) (command.SimpleCommand words: [{(echo)}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/available))} ) ] ) (C {(setup_etc)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} {(DQ ($ VSub_DollarName '$TARGET') (/etc/fstab))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (command.SimpleCommand words: [{(echo)} {(SQ <'# UNCONFIGURED FSTAB FOR BASE SYSTEM'>)}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/etc/fstab))} ) ] ) (command.Sentence child: (C {(chown)} {(0) (Lit_Other ':') (0)} {(DQ ($ VSub_DollarName '$TARGET') (/etc/fstab))} ) terminator: <Op_Semi ';'> ) (C {(chmod)} {(644)} {(DQ ($ VSub_DollarName '$TARGET') (/etc/fstab))}) ] spids: [16777215 769] ) ] spids: [16777215 808] ) (C {(setup_devices)}) (command.FuncDef name: x_feign_install body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:pkg spids:[826]) op: Equal rhs: {(DQ ($ VSub_Number '$1'))} spids: [826] ) ] spids: [824] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:deb spids:[834]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(debfor)} {($ VSub_DollarName '$pkg')})] ) left_token: <Left_CommandSub '$('> spids: [836 840] ) ) } spids: [834] ) ] spids: [832] ) (command.Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:ver spids:[846]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(extract_deb_field)} { (DQ ($ VSub_DollarName '$TARGET') (/) ($ VSub_DollarName '$deb') ) } {(Version)} ) ] ) left_token: <Left_CommandSub '$('> spids: [848 858] ) ) } spids: [846] ) ] spids: [844] ) (C {(mkdir)} {(-p)} {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/info))}) (command.SimpleCommand words: [ {(echo)} { (DQ ('Package: ') ($ VSub_DollarName '$pkg') ('\n') ('Version: ') ($ VSub_DollarName '$ver') ('\n') ('Status: install ok installed') ) } ] redirects: [ (redir.Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/status))} ) ] ) (C {(touch)} { (DQ ($ VSub_DollarName '$TARGET') (/var/lib/dpkg/info/) (${ VSub_Name pkg) (.list) ) } ) ] spids: [821] ) spids: [816 820] ) (C {(x_feign_install)} {(dpkg)}) ] spids: [712] ) spids: [707 711] ) (command.FuncDef name: second_stage_install body: (command.BraceGroup children: [ (command.FuncDef name: x_core_install body: (command.BraceGroup children: [ (command.Pipeline children: [ (C {(smallyes)} {(SQ )}) (C {(in_target)} {(dpkg)} {(--force-depends)} {(--install)} { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(debfor)} {(DQ ($ VSub_At '$@'))})] ) left_token: <Left_CommandSub '$('> spids: [950 956] ) } ) ] negated: F ) ] spids: [932] ) spids: [927 931] ) (command.FuncDef name: p body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:baseprog spids:[971]) op: Equal rhs: { (DQ (word_part.ArithSubPart anode: (arith_expr.ArithBinary op_id: Arith_Plus left: (arith_expr.ArithWord w:{($ VSub_DollarName '$baseprog')}) right: (arith_expr.ArithWord w: { (word_part.BracedVarSub token: <VSub_Number 1> suffix_op: (suffix_op.StringUnary op_id: VTest_ColonHyphen arg_word: {(1)} ) spids: [978 982] ) } ) ) spids: [973 984] ) ) } spids: [971] ) ] spids: [971] ) ] spids: [968] ) spids: [963 967] ) (C {(setup_proc)}) (C {(in_target)} {(/sbin/ldconfig)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DEBIAN_FRONTEND spids:[1001]) op: Equal rhs: {(noninteractive)} spids: [1001] ) ] spids: [1001] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DEBCONF_NONINTERACTIVE_SEEN spids:[1005]) op: Equal rhs: {(true)} spids: [1005] ) ] spids: [1005] ) (C {(export)} {(DEBIAN_FRONTEND)} {(DEBCONF_NONINTERACTIVE_SEEN)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:baseprog spids:[1017]) op: Equal rhs: {(0)} spids: [1017] ) ] spids: [1017] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:bases spids:[1021]) op: Equal rhs: {(40)} spids: [1021] ) ] spids: [1021] ) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(info)} {(INSTCORE)} {(DQ ('Installing core packages...'))}) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(ln)} {(-sf)} {(mawk)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/bin/awk))}) (C {(x_core_install)} {(base-files)} {(base-passwd)}) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(x_core_install)} {(dpkg)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} {(DQ ($ VSub_DollarName '$TARGET') (/etc/localtime))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(ln)} {(-sf)} {(/usr/share/zoneinfo/UTC)} {(DQ ($ VSub_DollarName '$TARGET') (/etc/localtime))} ) ] spids: [16777215 1134] ) ] spids: [16777215 1149] ) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(x_core_install)} {($ VSub_DollarName '$LIBC')}) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(x_core_install)} {(perl-base)}) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(rm)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/bin/awk))}) (C {(x_core_install)} {(mawk)}) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(x_core_install)} {(debconf)}) (C {(info)} {(UNPACKREQ)} {(DQ ('Unpacking required packages...'))}) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (command.Pipeline children: [ (C {(smallyes)} {(SQ )}) (C {(repeatn)} {(5)} {(in_target_failmsg)} {(UNPACK_REQ_FAIL_FIVE)} { (DQ ( 'Failure while unpacking required packages. This will be attempted up to five times.' ) ) } {(DQ )} {(dpkg)} {(--force-depends)} {(--unpack)} { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(debfor)} {($ VSub_DollarName '$required')})] ) left_token: <Left_CommandSub '$('> spids: [1316 1320] ) } ) ] negated: F ) (command.Sentence child:(C {(p)} {(10)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(info)} {(CONFREQ)} {(DQ ('Configuring required packages...'))}) (C {(mv)} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon.REAL))} ) (command.SimpleCommand words: [ {(echo)} { (DQ ('#!/bin/sh\n') ('echo\n') ('echo ') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ('Warning: Fake start-stop-daemon called, doing nothing') (word_part.EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ) } ] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))} ) ] ) (C {(chmod)} {(755)} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))}) (C {(setup_dselect_method)} {(apt)}) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (command.Pipeline children: [ (C {(smallyes)} {(SQ )}) (C {(in_target_failmsg)} {(CONF_REQ_FAIL)} {(DQ ('Failure while configuring required packages.'))} {(DQ )} {(dpkg)} {(--configure)} {(--pending)} {(--force-configure-any)} {(--force-depends)} ) ] negated: F ) (command.Sentence child:(C {(p)} {(10)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(info)} {(INSTBASE)} {(DQ ('Installing base packages...'))}) (command.Sentence child:(C {(p)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (command.Pipeline children: [ (C {(smallyes)} {(SQ )}) (C {(repeatn)} {(5)} {(in_target_failmsg)} {(INST_BASE_FAIL_FIVE)} { (DQ ( 'Failure while installing base packages. This will be re-attempted up to five times.' ) ) } {(DQ )} {(dpkg)} {(--force-auto-select)} {(--force-overwrite)} {(--force-confold)} {(--skip-same-version)} {(--unpack)} { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(debfor)} {($ VSub_DollarName '$base')})] ) left_token: <Left_CommandSub '$('> spids: [1551 1555] ) } ) ] negated: F ) (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/sendmail))}) (C {(ln)} {(-sf)} {(/bin/true)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/sendmail))}) (command.Pipeline children: [ (C {(smallyes)} {(SQ )}) (C {(repeatn)} {(5)} {(in_target_failmsg)} {(CONF_BASE_FAIL_FIVE)} { (DQ ('Failure while configuring base packages. This will be attempted 5 times.')) } {(DQ )} {(dpkg)} {(--force-confold)} {(--skip-same-version)} {(--configure)} {(-a)} ) ] negated: F ) (C {(rm)} {(-f)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/sendmail))}) (C {(ln)} {(-sf)} {(exim4)} {(DQ ($ VSub_DollarName '$TARGET') (/usr/sbin/sendmail))}) (command.Sentence child:(C {(p)} {(9)}) terminator:<Op_Semi ';'>) (C {(progress)} {($ VSub_DollarName '$baseprog')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(mv)} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon.REAL))} {(DQ ($ VSub_DollarName '$TARGET') (/sbin/start-stop-daemon))} ) (C {(progress)} {($ VSub_DollarName '$bases')} {($ VSub_DollarName '$bases')} {(INSTBASE)} {(DQ ('Installing base system'))} ) (C {(info)} {(BASESUCCESS)} {(DQ ('Base system installed successfully.'))}) ] spids: [924] ) spids: [919 923] ) ] )